LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problem with port (https://www.linuxquestions.org/questions/linux-networking-3/problem-with-port-661284/)

naw_deepak 08-07-2008 07:00 PM

Problem with port
 
Hello All,

A service created by a software is using a port. How can I make this port free from that particular service. The port is being used even after uninstallation of that software.

grepmasterd 08-07-2008 07:11 PM

use netstat to see what applications are using open ports

for udp ports:

netstat -anup

for tcp ports:

netstat -antp

oh, and run those as root.

naw_deepak 08-07-2008 08:09 PM

Suppose, if the port 6061 is being used by httpd , how to release this port 6061 from this service.

grepmasterd 08-07-2008 08:40 PM

try '/etc/init.d/httpd stop'

or 'killall `pidof httpd`'

naw_deepak 08-08-2008 01:18 PM

Great thanks !!

It works now. Sorry , it was a minor question but it all happens with beginner.


All times are GMT -5. The time now is 07:34 AM.