Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-10-2007, 09:28 AM   #1
Registered: Feb 2007
Posts: 197

Rep: Reputation: 30
binding port


I know that well knowns ports such as named, http,etc............
Can I able to use it for other applications? since I am not running those daemons.
Old 11-10-2007, 01:20 PM   #2
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Yes (is too short).
Old 11-10-2007, 06:08 PM   #3
Registered: Feb 2007
Posts: 197

Original Poster
Rep: Reputation: 30
If the port already established and if I uuse that port on different application, which application would work?
Old 11-10-2007, 06:34 PM   #4
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
You must be root to use ports below 1024.

If you try to bind to a port which is already in use, the listen system call will fail with error EADDRINUSE (already in use). See the listen(2) manual page.

Last edited by matthewg42; 11-10-2007 at 07:35 PM. Reason: removed faulty comma
Old 11-10-2007, 06:51 PM   #5
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Originally Posted by mokku View Post
which application would work?
The first one will continue to work and the second one will error out with EADDRINUSE.


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
Azureus port binding G00fy Linux - Networking 0 07-18-2006 03:15 AM
error binding address/port blackzone Linux - Networking 1 09-03-2004 03:23 AM
PsyBNC not binding on port 80. Adam15906 Linux - Software 1 06-10-2004 12:24 PM
binding linuxconf port to one NIC the_cyber_boss Linux - Security 1 12-18-2003 11:51 AM
Socket binding to port problems Xris718 Linux - General 0 07-10-2003 02:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:44 PM.

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