homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / The Macintosh Webmaster
Forum Library, Charter, Moderators: travelin cat

The Macintosh Webmaster Forum

VNC Listening Port?
need to find listening right port on mac

10+ Year Member

Msg#: 617 posted 8:33 pm on Oct 27, 2004 (gmt 0)

My first tech question here...

I am sitting behind a firewall here at the office. We have 5 dedicated IP addresses and want to set one dedicated IP for the Mac. Our desire is to run on either "OSXvnc" or "Share My Desktop (vnc)" application - and can't seem to get either to work unless the Mac is on its own IP address. (or so it seems)

When I launch either of the vnc applications they both present me a Port number as a default (i think?).

Main Questions:
1.) How do I find the correct port my Mac listening on for the remote admin function?
2.) Is the port numbers either vnc is giving me, the detected listening port?

Before I can configure a dedicated IP address for the Mac through the firewall - My admin needs to know the Listening Port for the Mac.

If it helps:
Hardware = Dual 1.8 G5 1GIG DDR SDRAM
OS = OS X 10.3.5
Connected: Ethernet
Firewall: Nextland - IPSec enforced - Pro 400

Thanks in advance for any help!



10+ Year Member

Msg#: 617 posted 8:43 pm on Oct 27, 2004 (gmt 0)

OSXvnc lets you choose the port to listen on. Once you pick that you just need to forward that port through your firewall to the server OSXvnc is running on.


10+ Year Member

Msg#: 617 posted 9:29 pm on Oct 27, 2004 (gmt 0)

Thanks for your reply.

Question: When I launch OSXvnc it presents me with my firewall ip 192.168.0.X and a port 5501 for example.

Is the software presenting me with a port that it is listening through? Or is this just some random port number?

VNC Software aside: On a Mac how does one find the listening port?


10+ Year Member

Msg#: 617 posted 10:02 pm on Oct 27, 2004 (gmt 0)

The default VNC ports are:

5500 - Listening Client
5800 - Java Applet Server
5900 - Server

On *NIX based systems like OS X, the base port is incremented by the X Windows screen number that the service applies to.

So 5501 is the the listening client port for X screen 1.

If you want to connect a VNC client to the VNC server running on your Mac then I would guess that the service will be listening on port 5901.

That said, this is only convention :)


10+ Year Member

Msg#: 617 posted 4:54 am on Oct 28, 2004 (gmt 0)

Thank you... I think I got it set.
Appreciate the help!

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / The Macintosh Webmaster
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved