Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled exception. System.Net.Sockets.SocketException (98): Address already in use #4

Closed
chaojicpu opened this issue May 21, 2021 · 1 comment

Comments

@chaojicpu
Copy link

Unhandled exception. System.Net.Sockets.SocketException (98): Address already in use
at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.Net.Sockets.UdpClient..ctor(Int32 port, AddressFamily family)
at System.Net.Sockets.UdpClient..ctor(Int32 port)
at SimpleUdp.UdpEndpoint..ctor(String ip, Int32 port)
at pidemo.Program.Main(String[] args) in E:\Projects\netcoreapi\pidemo\pidemo\Program.cs:line 102
It doesn't seem to work in the arm environment!

@jchristn
Copy link
Owner

Hi @chaojicpu sorry I never received a notification on this! Did you already have a listener attached to that port? What port number were you using? Were you running as a normal user or superuser/admin/root?

Repository owner locked and limited conversation to collaborators Mar 29, 2022
@jchristn jchristn converted this issue into discussion #10 Mar 29, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants