In my home, I'm able to connect to my own computer via SSH when using my LAN IP. I can't connect using my public IP even when I disconnect the router and connect my computer directly to the modem. I restarted the SSH server to use port 4900 instead of 22 and still wasn't able to connect. I always get a connection refused error. I'm using Windows 7, with Putty as client and MobaSSH as server. I disabled Windows Firewall. What's going on?
feedback
|
|
Are you using a firewall? That could be blocking port 4900. Also, if you try to connect using the router, you need to set up port forwarding on the router to your computer to access it using SSH. | |||
|
feedback
|
|
Depending on what system you are using (share more information on this please) this is probably a firewall issue. | |||
|
feedback
|
|
Make sure the server is bound to all interfaces and not just the loopback interface. | |||||||||
feedback
|