Click here to Skip to main content
15,883,531 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

My problem is that I have two web application one is web application and second is wcf services when I publised both application and deployed on server than not able to connect between services and also services is not connectig with mysql database and getting
Error:-no connection could be made because the target machine actively refused it 127.0.0.1:57207

Can u help me please.

Prakash
Posted
Updated 16-Jan-13 0:52am
v2
Comments
Richard MacCutchan 16-Jan-13 6:54am    
Are you sure that IP address is the one where your service is running?
Zoltán Zörgő 16-Jan-13 6:56am    
127.0.0.1 is localhost, or loopback with other terms. So you are trying to establish a connection from and to the same machine. Is this your intention? And are you sure that the service is running on port 57207 after deployment?
[no name] 16-Jan-13 7:33am    
This problem is due to the server that you are using is in idle state or your port is not been configured in the server that you are deploying to. Check them once.

1 solution

This is common error in client server architecture. I am assuming that your WCF proxy generation code is right. Most of the time, following are reasons for this error:-

Your server and client are running on same machine?

a. If yes, check port number. It should be the same in both sides (client and server).

b. If not (which have higher probability), change your server name in client side.


Regards,
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900