© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
135 replies
stn

SocketException, TCPListener, TCPClient reason?

a) Why do I get a
SocketException
SocketException
when opening a
TCPListener
TCPListener
+
TCPClient
TCPClient
@ IP
127.0.0.1
127.0.0.1
, Port 5089 (there is only my listener at that port, and only my client sends on it) telling me
the system actively refused the connection
the system actively refused the connection
- however it still goes through and sends everything/gets received?! and the firewall didn't block it
b) what information to look at to know such stuff?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ TcpClient is connected to TcpListener but TcpListener isn't connected...
C#CC# / help
3y ago
Canceling TcpClient after TcpListener has been stopped
C#CC# / help
2y ago
❔ Assignment: TCPListener that recieves and returns to tcpClient
C#CC# / help
3y ago
TcpClient connection
C#CC# / help
4y ago
Next page