Can't connect on Win7 via PuTTY - windows-7

Trying to connect to my VDS from Windows 7 machine.
From server side everything seems to be Ok, but I constantly get 'Network Error. Connection refused'.
It seems to me that either port 22 or PuTTY on local machine is blocked by our corporate network firewall.
What can I do now to resolve the problem?
I certainly will be able to change default port for SSH daemon.

The password to log in to the VDS may have expired. Try resetting it.

Related

Windows Server 2012 can be remote by mstsc but failed to ping

I setup a new server with windows server 2012 system to do a server migration. I can remote the server via mstsc. But failed to ping the server. The server can ping outside successfully. My computer and server are not in the same lan.
I started the echo recall ipv4-in service. But it didn't work.
I have no idea about how to enable the ping on my sever.
I would appreciate it if anyone can give some suggestion about how to make me ping the server successfully.
Thank you very much in advance.
If you are facing any issue with remote Desktop(MSTSC), first of all, you have to ensure that MSTSC is enabled in your client machine as well as server
If MSTSC is enabled in both then check in the server there is a policy on sever who can access via remote Desktop(This policy is about RDP version which version of MSTSc can access the server remotely select the lower version which is having in your client.
For getting ping first you have to ensure that both (Client machine & Server machine Should be in the same network it applicable when you are accessing the server locally )
Also once you check the firewall setting in your client machine if the firewall is enabled, then if possible then disable the firewall of the client machine if not possible then allow the ICMP Protocol in the firewall rule.
Once you have done all these steps your problem will be solved.

Can't SSH into EC2 from my mac but can from other devices

I am trying to connect into an EC2 instance (i am using a mac) which has a Security Group allowing all inbound traffic over ssh (port 22) but i'm unable to access. I'm having a little delay before getting an Operation timed out.
I already tried it over other devices such a raspberry pi and another macbook and the connection was successful.
I got access to the raspberry pi over ssh and tried the connection to my EC2 from the terminal; thought my ssh client or the port status could be the issue but after doing this i'm not really sure if this is the case.
This is the message i get when trying to connect:
ssh: connect to host x.x.x.x port 22: Operation timed out
One thing I noticed is that I used a different .pem file which is supposed to not work for that instance and the error was the same, it looks like my Mac cannot reach it.
Things already verified:
Security Group allowing traffic over port 22.
Instance rebooted/recreated.
DNS and Public IP address changed after instance reboot.
SSH connection successful over other devices.
SSH connection to other devices from this mac successful.
Firewall turned off.
DNS flushed.
Ping performed with success.
Any help is really appreciated it.
-- UPDATE --
This issue rose in my work machine. Got a different laptop due to other issues and problem fixed, looks like it might have been something related to ports or some sort of configuration. Thought it was a problem with AWS but now it's working fine. Sadly I couldn't debug enough to know what the exact issue was. Thanks to everyone who helped out!
It seems that you can remote by other devices and this issue is only still happening on your MAC. Try this on your MAC and try to remote again:
Flush your DNS
I don't know which Mac OS you are using so I put the link here: (https://help.dreamhost.com/hc/en-us/articles/214981288-Flushing-your-DNS-cache-in-Mac-OS-X-and-Linux)
If still cannot, you can try to open some protocol ports on that instances like:
ICMP, Echo Reply, ...
then try to reach by that protocol commands:
Ping, telnet, ...
If the result is cannot too, so it must be that your MAC cannot even reach to that instance network, then try to ensure that your MAC can reach the instance's network first.

Remotely accesing ftp server on pc

My problem is the following I want to develop and app that downloads some files in a ftp server(my laptop) which I could easily solve if I were on the same lan.
What can I do to connect by ftp to my laptop when the phone is connected to a different lan than the computer?
Can be this problem solved by setting my router to port forward? How can I do this?
I have tried setting an account in no-ip.biz but I must wait 60 days to activate my domain and I when I ping my host I get responded like if it was online. But I can't access it through the web browser, ssh or telnet
You need to do a port forward on your router. Use port 21 and redirect it to your laptop.
Then to access it from everywhere connect to your box IP.

FTP server on VPS

I am trying to connect to FileZilla ftp server on my VPS. I have installed it. Added a user. Added exception to Windows Firewall for FileZillaServer.exe; Configured FileZilla to use Passive mode and entered my IP of VPS server. Then I have started the server on VPS.
But I still can not connect to FileZilla from outside. It sais:
Error: Connection timed out
Error: Could not connect to server
P.S. if I`m connecting to server locally, ir works.
Any ideas what is going on?
Thanks a lot.
Well, I will answer it myself :)
I could not start Filezilla server for some reason, but I was able to start IIS FTP server.
All you need to do is to go to IIS Manager and add FTP site. Add user and that`s it.

Apache can't connect to http://localhost/. Port is changed to 81

I've just installed apache2.2 and installed it, but to get it running I had to change it listening port to 81. But the thing is now that I cant connect to it through localhost. The only thing I get is a login window and when I type in the authentication information that I think is my windows login. I get:
error '8002801c'
Error accessing the OLE registry.
/iisHelp/common/500-100.asp, line 17
The computer is a winxp and I've opened the ports out and no firewall is blocking apache.
Seems like the machine has another webserver running, probably IIS.
You can uninstall that through the configuration screen.
Try http://localhost:81/ to get the apache install.

Resources