Skip to contentSkip to conversation

Hello, I have port busy after server die.

DISCUSSION Gustavo Guillermo 2 participants 2 messages Feb 12, 2004 – Feb 13, 2004

lore
Share & tools
lore
#0 lore raw

Hello everyone, I have a nice question, I ran a WebServer, and after 8 days hangs and die, but TCP port wasn't released.
I know that the solution is restart the system, but I see it in other times and this server can't be restarted.

There is some C function or command or anything that can release this port?

Thanks in advance.

#1 lore raw
Quoted 7 lines · Gustavo Guillermo

Hello everyone, I have a nice question, I ran a WebServer, and after 8 days hangs and die, but TCP port wasn't released.
I know that the solution is restart the system, but I see it in other times and this server can't be restarted.

There is some C function or command or anything that can release this port?

The solution is actually to find out what makes the server die in the first place. The port gets released as soon as the last instance of the service gets killed. Since you didn't specify what software you're running I can't get more specific than that.

Jen