Quote Originally Posted by KidCloudWala View Post
Satimis:
Can you check whether the port is open using the nmap command on the public IP outside your network.

Also, you can execute the coomand telnet <IP Address> <Port Number>, just in order to confirm whether the request is getting forwarded on the Port Number and on the IP Addres.....
Hi KidCloudWala,


It was the firewall, iptables, stop the connection. After adding following rules on /etc/rc.local
Code:
iptables -A INPUT -s satimis.com -p tcp --dport 2222 -j ACCEPT
iptables -A INPUT -s 220.232.xxx.xxx -p tcp --dport 2222 -j ACCEPT
$ sudo /root/iptables.stop
$ sudo /etc/init/d/rc.local start

then the server can be ssh-connected with

$ ssh -p2222 satimis.com
$ ssh -p2222 220.232.xxx.xxx


Problem gone now.


B.R.
satimis