[RESOLVED]There was no endpoint listening at that could accept the message for rest service call

I have created a rest service and hosted it on azure vm’s IIS server.I tested the service with postman rest client,its working fine. I created the client to access the service having proper Address,Binding(webHttp),contract(Shared interface between
service and client). I am able to access the service through mvc webapp using the client when its getting hosted on IIS Express. But when i deployed the same web app package to IIS server its unable to get response from service.it is failing with the error
:There was no endpoint listening at
http://xxx.cloudapp.net:3439/api/yyyService/GetUser?emailId=abc@gmail.com that could accept the message.
This is often caused by an incorrect address or SOAP action

most likely you need to change the server firewall settings. by default the port is blocked.

Hi avisingh,

Thanks for your post.

Check the HTTPERR log  and the Failed Request Trace (FRT) log,please check this:http://blog.leansentry.com/2013/07/the-server-logs-you-need-to-know-to-fix-any-iis-aspnet-error/

And try to  add a port(3439) in Windows Firewall ,please check this:http://windows.microsoft.com/en-in/windows/open-port-windows-firewall#1TC=windows-7

There’s a similar thread:

http://social.msdn.microsoft.com/Forums/vstudio/en-US/bec3ab7a-310e-415f-b538-6d5681e5e53c/there-was-no-endpoint-listening-at

Hope this can be helpful.

Best Regards,

Eileen

Leave a Reply