LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-30-2009, 11:59 PM   #1
arvindk.monu
LQ Newbie
 
Registered: Aug 2009
Posts: 22

Rep: Reputation: 0
Smile release ports in linux


in linux,suppose i want to start a service @ port 80,but system tells me port occupied already,how to release that port for my service.

Last edited by arvindk.monu; 08-31-2009 at 12:02 AM. Reason: Tags
 
Old 08-31-2009, 12:03 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,220

Rep: Reputation: 131Reputation: 131
In default port 80 predefined for http(web server), what service you are going to bind with port 80?
 
Old 08-31-2009, 12:05 AM   #3
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,220

Rep: Reputation: 131Reputation: 131
refer this you can get some idea about port range
http://en.wikipedia.org/wiki/List_of...P_port_numbers
 
Old 08-31-2009, 12:13 AM   #4
shellarchive
Member
 
Registered: Jan 2007
Posts: 50

Rep: Reputation: 15
You may kill process running on that port. start the service after configuring it to run on that port.

by default httpd runs on port 80.
 
Old 08-31-2009, 12:15 AM   #5
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 500

Rep: Reputation: 56
to view the ports in use by applications, you can issue the "netstat" command. (along with the parameters you want)

e.g. netstat -tan
 
  


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
install opensuse release candidate upgrade path to final release newbuyer17 Linux - General 2 06-05-2008 08:23 AM
Ports closed on redhat enterprise linux es release 4 manasmohanty.india Linux - Enterprise 1 10-09-2006 01:22 PM
I have a working Slackware "ports" system -- help me refine it for release ponds Slackware 24 01-27-2005 04:57 PM
How 2 release ports? rwalkerphl Linux - Newbie 1 06-25-2004 08:54 AM
Is there a way to release ports short of rebooting the box. kenzej Linux - Networking 5 06-22-2003 04:36 PM


All times are GMT -5. The time now is 12:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration