Default ports for tightvnc server...

Posted on 2004-11-06
Last Modified: 2012-05-05
What port(s) should I open (default ports, nothing fancy) for my newly installed tightvnc server?
Question by:smetterd
    LVL 17

    Expert Comment

    Either 5500 or 5900 are the default ports I think.
    LVL 38

    Accepted Solution


       Port 5900 by default.
       For mulitple sessions in Linux, it will add 1 to 100 to 5900, such as 5901, 5902....
    But for connection from the VNC client, all you need to remember is :1, :2, :3 ......
    Such as
    # tightvncviewer (or vncviewer) <hostname>:1 ( or :2, :3)

       The port number is determined by server processes when you start it.
    For the information about your VNC server session, check the ~/.vnc directory.
    There are a couple files named <hostname>:<port number>.pid


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
    Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now