cant get the port open on server!
i have 2 (very simple) python scripts, which try to connect to each other through port XXXX, if they both run on same machine, there is no problem, but if one of them is on a remote machine, python just says no route to host which i guess means the port is still closed
i tried these:
iptables -I INPUT -p tcp --dport XXXX -j ACCEPT
iptables -I INPUT -p tcp --dport XXXX -j ACCEPT
iptables -I OUTPUT -p udp --dport XXXX -j ACCEPT
iptables -I OUTPUT -p udp --dport XXXX -j ACCEPT
but no luck! what am i doing wrong?
ps: if i set the script on remote to port 80 (which is open and NOT in use), the client side does nothing, just trying to connect...
|