<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
to figure out what ports are used on a server you could use netstat -a
-n
<br>import os
<br>popen("netstat -a -n")
<p>something like that?
<p>Ahmed Ahmed wrote:
<blockquote TYPE=CITE>Can you tell me how to write a Python code to find
all
<br>the network ports that are in use on a server?
<p>__________________________________________________
<br>Do You Yahoo!?
<br>Get Yahoo! Mail – Free email you can access from anywhere!
<br><a href="http://mail.yahoo.com/">http://mail.yahoo.com/</a></blockquote>
</html>