Date: Thu, 11 Feb 1999 07:29:49 -0800 (PST) From: david@inty.net To: freebsd-gnats-submit@FreeBSD.ORG Subject: kern/10028: TCP problem binding port - address already in use Message-ID: <199902111529.HAA01792@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 10028 >Category: kern >Synopsis: TCP problem binding port - address already in use >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 11 07:30:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: David Hedley >Release: 2.2.8 & 3.0 >Organization: Intelligent Network Technologies Ltd >Environment: FreeBSD inty.david.inty.net 3.0-RELEASE FreeBSD 3.0-RELEASE #2: Fri Jan 8 19:02:26 GMT 1999 david@brian.visint.co.uk:/usr/src/sys/compile/NEWINTY i386 >Description: I am developing a server program which listens on a port (8080 in this case) Often when the program exits (usually on a signal), the kernel does not 'unbind' the port (i.e. netstat -na shows the port still in LISTEN state). I can still make connections to the port, even though there is no process listening on it. Trying to run the server program again reports 'address already in use'. There is no way to clear this problem other than rebooting, which is unacceptable. The problem occurs with kernel versions 2.2.x and 3.0 >How-To-Repeat: >Fix: rebooting. :( >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902111529.HAA01792>