Penguin

Differences between version 2 and predecessor to the previous major change of EADDRINUSE.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 2 Last edited on Sunday, February 23, 2003 2:05:53 am by KevinGeorge Revert
Older page: version 1 Last edited on Monday, October 7, 2002 9:15:05 pm by WikiAdmin Revert
@@ -1,12 +1,12 @@
 !!!Address already in use 
  
-This error means an address is already in use, this is frequently due to a network port or socket being already claimed by another process. You can't have two processes listen on the same port unless they actively cooperate to do so. For example, when starting apache a second time without closing down the first connection you get in the logs: 
+This error means an address is already in use, this is frequently due to a network port or socket being already claimed by another process. You can't have two processes listen on the same IP address/ port pair at the same time unless they actively cooperate to do so. For example, when starting apache a second time without closing down the first connection you get in the logs: 
  Address already in use: make_sock: could not bind to port 80 
  
 You can tell whats listening on a port by using: 
  netstat -ap 
 (see netstat(8) for more information) 
  
-kill(1) the program thats listening on that port and try again. 
+kill(1) the other program that is listening on that port and try again. 
  
-Usually you get this error when starting a program when another copy of the same program is already running. 
+Usually you get this error when trying to start a daemon that is already running.