Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I work in a restrictive desktop/network environment and I am not an admin on my laptop. The ports available to me are limited. E.g. when I tried running Tomcat, the system refused to open a socket on the port for which Tomcat was asking.

However, some port ranges are obviously open as I can, for example, use the internet, network, and connect to Unix boxes using SSH. When I was on the Unix box, I used netstat to find out from which ports my IP made multiple connections. Then I tried to write a Java program to open a port in that ballpark (51K range) and it succeeded. On another random port (e.g. in the 4000 range) I could not mount a socket.

So my question is this: how can I get a listing of the security policy on my laptop, even if it is read-only, so I can see which ports are available to me and which are not?


share|improve this question

Either of these should help:

share|improve this answer
isn't there a flat file on the system where i can get this listing? i can get in trouble trying to use those web apps. – amphibient Oct 3 '12 at 18:50
The blocks are most likely at the network level, as configured by the admin. If these apps might get you into trouble and you have a legit reason for wanting this info., why not just ask your n/w admin to give you a list? – Karan Oct 3 '12 at 21:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.