Just check netstat to see if anything is listening on that port.
netstat -a | grep LISTEN | more
If a listening process is defined in /etc/services, the service name will
appear instead of the port number in the netstat output. So first check
/etc/services for anything on 8000, then check netstat.
ex:
*:telnet (service defined in /etc/services)
*:7001 (service with no corresponding /etc/services entry)
-Chuck
-----Original Message-----
From: Ning Zhu [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 27, 2000 10:31 AM
To: [EMAIL PROTECTED]
Subject: How to do port scan on your own machine
Hello,
Does any one know how to do a port scan on RedHat 6.2? During the scan, it
shouldn't open any port, just a simple check.
As a matter of fact, what I am trying to do is to assign a new port for our
httpd(Apache server) instead of using the standard port 80 since Linux is
shipped with one httpd using port 80. I am thinking about using port 8000
but would like to check to make sure it is not being used by others.
Many thanks!
N.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list