An error occurred when we added a WCF service reference to the client with the following message:
TCP Error code 10061: Unable to connect due to active rejection of target machine
http://localhost:8732/Design_Time_Addresses/TeacherHelperServic
Unable to connect to remote server due to active rejection of target machine. 127.0.0.1:8732 /
Possible reasons:
1. The corresponding service port is not opened
2. Some TCP listening services are not enabled
3. The Client does not match the Serivce configuration
Solution reference:
1. Check firewall Settings. Do you open the service port, such as 8732?If not, add the service port as a secure port.
2. Check whether the service hosting process is started. In this case, the service hosting program is usually run for a custom host to host the service.
3. Perhaps a service such as net.TCP Listener Adapter is not started. The Net.TCP Listener Adapter is set to start automatically.
Read More:
- JDBC connect to Sql Server to connect to the database–The TCP/IP connection to the host localhost, port 1433 has failed
- curl: (7) Failed connect to localhost:9200; Connection refused
- How to Fix java.net.ConnectException: Connection refused: connect
- solve java.net.ConnectException : Connection refused:connect report errors
- TNS-12545: Connect failed because target host or object does not exist
- How to Fix ERROR: Couldn’t connect to Docker daemon at http+docker://localhost – is it running?
- Solve the problem that the virtual machine can’t be opened? Tips on VMware Workstation cannot connect to the virtual machine
- Nginx reports 502 error, log connect() failed (111: Connection refused) while connecting to upstream. A personal effective solution
- mysql problem solving: mysqladmin: connect to server at’localhost’ failed
- Unable to connect to MKS:Internal error
- The solution to the problem that the virtual machine and the host SSH can’t connect on vmvare
- The solution of centos7 in VMware virtual machine unable to access after installing nginx
- ERROR 2002 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)
- 【MongoDB】 Failed to connect to 127.0.0.1:27017, reason: Connection refused
- error: \*1035 connect() failed (111: Connection refused) while connecting to upstream, client…..
- Error 2003 (HY000): can’t connect to MySQL server on ‘localhost’ (10061)
- failed to connect to ‘192.168.199.143:5555‘: Connection refused
- linux VMware Unable to change virtual machine power state: Internal error
- Server (for example: HTTP) has a large number of time_ Solutions to wait
- ORA-12545: Connect failed because target host or object does not exist