vncviewer

Tom Rivers tom at impact-crater.com
Wed Feb 26 22:08:00 UTC 2014


On 2/26/2014 17:01, Patrick Dupre wrote:
> # nmap -v -n -P0 -p5900-5910 localhost
>
> Starting Nmap 6.40 ( http://nmap.org ) at 2014-02-26 23:00 CET
> Initiating SYN Stealth Scan at 23:00
> Scanning localhost (127.0.0.1) [11 ports]
> Discovered open port 5905/tcp on 127.0.0.1
> Discovered open port 5906/tcp on 127.0.0.1
> Discovered open port 5901/tcp on 127.0.0.1
> Completed SYN Stealth Scan at 23:00, 0.01s elapsed (11 total ports)
> Nmap scan report for localhost (127.0.0.1)
> Host is up (0.000020s latency).
> Other addresses for localhost (not scanned): 127.0.0.1
> PORT     STATE  SERVICE
> 5900/tcp closed vnc
> 5901/tcp open   vnc-1
> 5902/tcp closed vnc-2
> 5903/tcp closed vnc-3
> 5904/tcp closed unknown
> 5905/tcp open   unknown
> 5906/tcp open   unknown
> 5907/tcp closed unknown
> 5908/tcp closed unknown
> 5909/tcp closed unknown
> 5910/tcp closed cm

OK, the ports 5905 and 5906 are open and in use locally. Unfortunately, 
your previous scan results didn't show the status of those same ports 
from the remote machine.  Try the following command on the remote machine:

nmap -v -n -P0 -p5905-5906 193.49.194.19

If the ports aren't showing up as "open" then it is your firewall that 
is the problem.  Make sure you open those ports for both inbound and 
outbound traffic in your firewall configuration on the system running 
the vncserver.


Tom


More information about the users mailing list