asp.net - EADDRINUSE address already in use -
when run dnu . kestrel
start asp.net 5 server on os x, , press ctl+c
stop server, run dnu . kestrel
second time, receive following exception:
sullys-macbook-pro:test1app sully$ dnx . kestrel
system.exception: error -48 eaddrinuse address in use @ microsoft.aspnet.server.kestrel.networking.libuv.check (int32 statuscode) [0x00000] in :0 @ microsoft.aspnet.server.kestrel.networking.libuv.listen (microsoft.aspnet.server.kestrel.networking.uvstreamhandle handle, int32 backlog, microsoft.aspnet.server.kestrel.networking.uv_connection_cb cb) [0x00000] in :0 @ microsoft.aspnet.server.kestrel.networking.uvstreamhandle.listen (int32 backlog, system.action`4 callback, system.object state) [0x00000] in :0 ^c
the terminal acts server running, because have press ctl+c
again terminate server process. while "running", can't navigate browser.
is there proper way shut down server change code, without having kill terminal, open new one, navigate project directory , re-start kestrel?
i have seen other errors related on so; seemed related android. haven't seen related kestrel , dnu
eaddrinuse
on os x pressing enter key in terminal should stop kestrel. happening cntrl-c puts suspended state , have find process , issues unix kill command process. issue https://github.com/aspnet/kestrelhttpserver/issues/26 refers. though sure thread saying going fixed either cntrl-c or cntrl-z would work on environments kestrel
Comments
Post a Comment