Since it worked before this may not be the problem. But I have encountered this because of firewall problems on the linux server. I would check to see if the port that you are using is open.
Which Linux distro? Are you running SELinux? You might turn SELinux off temporarily to see if it is blocking the traffic.
thanks for reminding, found out that is the ip/address issue.
now it's worked. thank you!