Results 1 to 2 of 2

Hybrid View

  1. #1

    Question how to know free ports on my server?

    hello everyone
    how to know free ports on my server?

    thanks in advanced for your help

    regards

    saad

  2. #2
    Join Date
    Dec 2004
    Location
    Butler,TN
    Posts
    2,416
    Hi!
    What kind of port? If you are talking about "virtual" ports..ie..http running on port #80...it would depend on the setup of the vps.

    If you have a xen or vmware vps...I have no clue.

    If you have a openvz or virtuozzo vps..login to your vps..cd out of your root directory...and type:

    cat proc/user_beancounters

    The resource you are looking is (I believe)

    NUMTCPSOCK (For TCP sockets)
    NUMOTHERSOCK (For other socket connections)

    If you see a number in the last column (Failcnt)..your vps has indeed reached the maximum number of sockets allowed...and connections have failed.

    Feel free to post further if this does not help.

    Bryon
    Bryon L Harvey
    Soil Relocation Engineer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •