unknown tcp connection on port 5900
Im setting up real VNC on my macbook pro OS X 10.9.4 and I cannot connect to the server due to this error message:
System
-----------------------------------------------
Mac OS X Version 10.9.4 Mavericks on Intel
- Machine: MacBookPro10,1
- Displays Connected: 1
- Display 0, Primary, Built In
- 32 Bits Per Pixel, 8 Bits Per Sample
- Resolution: 1440 x 900
- Origin: (0,0)
- Adapter: Intel HD Graphics 4000
- Quad-Core Intel(R) Core(TM) i7-3635QM CPU @ 2.40GHz
- Total physical memory: 8192 MB
- System locale: 'en_US'
Network Connectivity
-----------------------------------------------
RFB port: 5900
HTTP port: 0
HTTP services:
Addresses: 10.0.1.237
Issues
-----------------------------------------------
## Error ##
Port conflict preventing VNC connections over TCP
The port on which VNC Server is expecting to accept connections is in use by another program or service. For example, it may be that VNC-compatible Server software from a third party is already listening on this port.
To resolve this issue, stop or change the other program or service, or select a new, unique port for VNC Server.
Internet Connectivity
-----------------------------------------------
Connection test failed.
VNC Server appears to be behind a NAT router with IP address 66.212.16.190. You will need to configure that router to forward port 5900 to this computer before you can connect to VNC Server over the Internet.
I ran terminal to find out what was using that port with command:
sudo lsof -i -P | grep -i "listen"
And This was what I received.
Chris-Mac:~ Chris$ sudo lsof -i -P | grep -i "listen"
Password:
launchd 1 root 22u IPv6 0x7e05115b50c2fdc5 0t0 TCP *:5900 (LISTEN)
launchd 1 root 23u IPv4 0x7e05115b50c30dcd 0t0 TCP *:5900 (LISTEN)
launchd 1 root 27u IPv6 0x7e05115b50c2f985 0t0 TCP localhost:631 (LISTEN)
launchd 1 root 28u IPv4 0x7e05115b50c305e5 0t0 TCP localhost:631 (LISTEN)
kdc 62 root 6u IPv6 0x7e05115b50c2f545 0t0 TCP *:88 (LISTEN)
kdc 62 root 8u IPv4 0x7e05115b522f3dcd 0t0 TCP *:88 (LISTEN)
vncviewer 523 Chris 5u IPv6 0x7e05115b50c2f105 0t0 TCP *:5500 (LISTEN)
vncviewer 523 Chris 8u IPv4 0x7e05115b54ba0dcd 0t0 TCP *:5500 (LISTEN)
Chris-Mac:~ Chris$ ;2D
Can anyone tell me what this connections are? what they are doing? and how do I fix this problem? Thanks a lot
MacBook Pro with Retina display, OS X Mavericks (10.9.4), realVNC server