Re: VNC: vncviewer no route to host on same lan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux