• Register
0 votes

Problem :

I am searching the working solution for following C# issue.
only one usage of each socket address (protocol/network address/port) is normally permitted.
6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

To solve your issue please follow the steps:
  1. Open your cmd
  2. Type as netstat –ano
  3. After doing that the list of process with their ports will be opened
  4. Now search ‘process ID’ of the port you are unable to use (in my case port 11111)
  5. Now simply open task Manager and Stop that process
  6. Finally your port is ready to use
9 7 4
38,600 points

Related questions

0 votes
1 answer 12 views
Problem: an attempt was made to access a socket in a way forbidden.
asked Feb 22 Dan phillip 4.8k points
0 votes
1 answer 344 views
Problem : I have my website on HostGator and also the dedicated server of my own running SQL Server 2008R2. The connection string I use is the X.X.X.X,1433 which directly points to the IP address of the dedicated server. I have already made the firewall settings on ... by the HostGator tech support team that there would be no problems from their end. Is there anybody who can fix this issue for me?
asked Dec 11, 2019 alecxe 7.5k points
1 vote
2 answers 427 views
What is the meaning of the "connection reset by peer" error on a TCP connection? Why do we get the error "Connection reset by peer" during a web service call? Explaining Connection Reset by Peer Log Messages? Is it a fatal error or just a notification or related ... it mean when it says the connection was reset? How do I fix my connection reset? What does Connection reset by peer mean on Instagram
asked Jul 23, 2019 sadmin 2.2k points
0 votes
1 answer 4 views
Problem: What protocol layer does browser work on?
asked Apr 17 sumaiya simi 43.9k points
0 votes
1 answer 333 views
Problem: I am very new to .Net programming. Recently I was trying to run the .Net socket server code on my Win7-64bit machine. But I am receiving the below error: System.Net.Sockets.SocketException: An address incompatible with the requested protocol was used. Error Code: 10047 ... -XP sp3 . I have already checked the error code details on MSDN but it does not make any sense to a beginner like me.
asked Aug 22, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 2 views
Problem: Is anyone available to assist me and resolve this issue? How to check who's on a minecraft server?
asked 3 days ago Ifra 34.7k points
0 votes
1 answer 4 views
Problem: Please help me to solve it... float xnew = p.x * c - p.y * s;
asked Mar 24 Ifra 34.7k points
0 votes
1 answer 2 views
Problem: I want to program an application to send a file with sockets: My Server is: void str_server(int sock) { char buf[1025]; const char* filename="test.text"; FILE *file = fopen(filename, "rb"); err_abort("Test"); while (!feof(file)) { int rval = fread(buf, 1, sizeof(buf ... sizeof(buf), 0)) > 0) { fwrite(buf, 1, rval, file); } close(sock); } My problem is that my client creates an empty file.
asked Apr 19 Jack20 5.1k points
0 votes
1 answer 5 views
Problem: Can anyone tell me the solution of this problem? An operation on a socket could not be performed
asked Apr 7 Ifra 34.7k points
1 vote
2 answers 3 views
Problem: How to create » Chat application in c# using socket programming.
asked Mar 27 PkGuy 23.5k points