Computing.Net > Forums > Linux > no of ports available

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

no of ports available

Reply to Message Icon

Name: sunny
Date: May 12, 2004 at 02:01:28 Pacific
OS: linux
CPU/Ram: 256mb
Comment:


hi ,
can any one tell me how many logical ports are there in our systems(pc).
iam doing socket programming so i would like to know how many ports are there totally.
pls someone reply soon




Sponsored Link
Ads by Google

Response Number 1
Name: rohinkoul
Date: May 12, 2004 at 02:41:13 Pacific
Reply:

hi there

As far as I know there are 65536 ports avaliable. But normally you are not allowed access to ports below 1024 as you need root previleges to access these ports.

Also you may not find any port open on the machine if it is running a firewall.

Usually RedHat Machines have firewall configured at installation time. Trust me alone this thing can give you headaches as everything seems to be OK but you are not able to connect to remote computer


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: no of ports available

Fedora Core 2 hates USB mouse and K www.computing.net/answers/linux/fedora-core-2-hates-usb-mouse-and-k/26552.html

Quick Firewall Survey ... www.computing.net/answers/linux/quick-firewall-survey-/23415.html

Ubuntu on iBook G4 www.computing.net/answers/linux/ubuntu-on-ibook-g4/28612.html