• Register
0 votes
173 views

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 218 views
218 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 374 views
374 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.1k points
0 votes
1 answer 108 views
108 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 8 views
8 views
Problem: I have a project in which a server will communicate with multiclient. The program is working fine when severing and clients connect in the same network (same IP address and same port). However, I need to change my server IP address every single time I move to a ... { IPAddress.Parse(ip_address) }; setIP = objMO.InvokeMethod("EnableStatic", newIP, null); } catch (Exception ex) { } } } }
asked Sep 14, 2020 boris elin 620 points
0 votes
1 answer 113 views
113 views
Problem : I am facing following c# socket issue the i/o operation has been aborted because of either a thread exit or an application request
asked Nov 16, 2019 peterlaw 6.9k points
0 votes
1 answer 22 views
22 views
I have this simple python server-client file transfer project going on. There are two parts to each side. First, the client sends a file to server for the first part. Server then appends a line and sends back the file to client in the second part. My issue is that for some ... fw: while True: data = csFT.recv(1024) if not data: break fw.write(data) fw.close() print("Received..") csFT.close()
asked Oct 27, 2020 psandprop 2.4k points
0 votes
1 answer 73 views
73 views
Problem: I am seeing "{writer,send_failed,{error,closed}}" error on server side and "java.net.SocketException: Connection reset by peer: socket write error" error on java client side intermittently. What could possibly go wrong here? Both server and ... rabbitmq.client.impl.ChannelN.basicPublish(ChannelN.java:630) at com.rabbitmq.client.impl.ChannelN.basicPublish(ChannelN.java:621) Please help me.
asked Mar 23, 2020 LizzyM 6.1k points
0 votes
1 answer 221 views
221 views
Problem : I am trying to implement an HTTP Server using Sockets but getting bellow error java net socketexception connection reset by peer socket write error
asked Oct 31, 2019 peterlaw 6.9k points
0 votes
1 answer 368 views
368 views
Problem : I am getting bellow error while using Sockets java.net.socketexception: software caused connection abort: socket write error
asked Oct 19, 2019 peterlaw 6.9k points
0 votes
2 answers 115 views
115 views
Problem : Getting following issue ggplot2 error geom_path issue: each group consists of only one observation. Should i adjust the group aesthetic?
asked Nov 7, 2019 peterlaw 6.9k points