How to open a port?

Markus Schönhaber ubuntu-users at schoenhaber.de
Sun Jun 11 18:30:48 UTC 2006


Daniel Carrera wrote:
> I want to allow remote X connections. Could someone tell me how to open
> UDP port 177 or TCP port 6000?
>
> I tried using iptables:
>
> iptables -A INPUT -p udp -i eth1 --dport 177 -j ACCEPT

Aside from setting DisallowTCP=false as already suggested, you should open TCP 
instead of UDP port 177 - if the culprit is really the packet filter.

Regards
  mks




More information about the ubuntu-users mailing list