Getting Socket exception after restarting the aqueduct app
91priyansh opened this issue · 4 comments
Exited (1)
Unhandled exception:
SocketException: Failed to create server socket (OS Error: Only one usage of each socket address (protocol/network address/port) is normally permitted.
, errno = 10048), address = 0.0.0.0, port = 8888
�[38;5;244m#0 _NativeSocket.bind (dart:io-patch/socket_patch.dart:821:7)�[39;49m
�[38;5;244m�[39;49m
�[38;5;244m#1 _RawServerSocket.bind. (dart:io-patch/socket_patch.dart)�[39;49m
�[38;5;244m�[39;49m
Exited (255)
I think that the previous dart process didn't close and is keeping the socket busy.
i am running app in debug mode using vs code and i also close the debug session still getting the same error
kill the process for this port friend
@jairoFernandez yaa found the solution