On Sun, 2005-03-27 at 14:34 -0800, Richard Emberson wrote: > Scot L. Harris wrote: > > >On Sun, 2005-03-27 at 14:46, Richard Emberson wrote: > > > > > >>I've got two Fedora bozes (A & B) on the same lan (connected through a > >>netgear switch). > >>They can ping each other and ssh bach and forth. There is a firewall > >>between the > >>lan and the internet (the firewall is NOT between the two machines). > >> > >>On machine A, I've got a vncserver running. On machine A, I can run the > >>command > >> > vncviewer A:1 > >>successfully; self vnc-ing works. > >> > >>On machine B, when I run the command > >> > vncviewer A:1 > >>I get > >> > >>main: unable to connect to host: No route to host (113) > >> > >>what wrong? > >> > >> > > > >Most likely you have iptables running on the machine A and is blocking > >port 5901. Test it by disabling iptables on machine A. If that works > >then open port 5901. > > > > > > > Thanks - that was it. I added: > > -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5901 -j ACCEPT > > to /etc/sysconfig/iptables and the Sun is shining once again. > I am doing the same thing but I used a different command to open the port though the firewall. -A RH-Firewall-1-INPUT -p tcp --dport 5901 -j ACCEPT As this is different from above could there be any problem using this? Regards Neil