23.05.2020, 13:02
Hi, im using a socket for a small application i made for the server.
Now the problem:
First time when i run the server, all is fine, socket is connected and working.
When i restart the server, on my linux for testing im using: kill process id, then restarting it.
But then suddenly when i restart the server again i get this error in the log:
Now the problem:
First time when i run the server, all is fine, socket is connected and working.
When i restart the server, on my linux for testing im using: kill process id, then restarting it.
But then suddenly when i restart the server again i get this error in the log:
PHP Code:
socket_listen(): Socket has failed to bind on port XXXX