LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-07-2008, 07:00 PM   #1
naw_deepak
Member
 
Registered: Aug 2008
Posts: 35

Rep: Reputation: 15
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.
 
Old 08-07-2008, 07:11 PM   #2
grepmasterd
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: ubuntu, lately
Posts: 182
Blog Entries: 1

Rep: Reputation: 35
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.
 
Old 08-07-2008, 08:09 PM   #3
naw_deepak
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
Suppose, if the port 6061 is being used by httpd , how to release this port 6061 from this service.
 
Old 08-07-2008, 08:40 PM   #4
grepmasterd
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: ubuntu, lately
Posts: 182
Blog Entries: 1

Rep: Reputation: 35
try '/etc/init.d/httpd stop'

or 'killall `pidof httpd`'
 
Old 08-08-2008, 01:18 PM   #5
naw_deepak
Member
 
Registered: Aug 2008
Posts: 35

Original Poster
Rep: Reputation: 15
Great thanks !!

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP port and Proxy port problem AZIMBD03 Linux - Networking 3 04-15-2004 09:20 PM
--destination-ports port[,port[,port...]] KevinGuy Linux - Networking 1 03-16-2004 06:06 PM
port problem general4172 Linux - Networking 1 10-09-2003 12:49 PM
port 80 problem nocturnal Linux - Software 2 08-08-2003 03:29 AM
port forwarding problem roueleader Linux - Newbie 9 06-11-2002 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration