I have OpenSSH Server installed on a Ubuntu (Server) 14.04 machine. I can connect over my local network but cannot across the Internet. I have port forwarding set up on the router.
I have tried:
- Changing from port 22 to another (random) port to make sure it’s not because my ISP is blocking port 22
- Temporarily disabling the firewall for testing. Neither of these resolved the problem.
Any ideas why I can’t connect? The error is:
connect to address port : Connection refused
Here is the
netstat -apn | grep: 42530 (No info could be read for "-p": geteuid()=1000 but you should be root.) tcp 0 0 0.0.0.0:42530 0.0.0.0:* LISTEN - tcp 0 116 192.168.2.23:42530 192.168.2.11:58944 ESTABLISHED - tcp6 0 0 :::42530 :::* LISTEN -