Trying to connect to the Azure Web role configured external endpoint(1433) from my desktop. Once previous it had worked on disabling the firewall on azure role, but now its not working.
When i try connecting it gives "Failed to receive message -Unable to read beyond the end of the stream" error.
It would be very helpful, if anyone have had this issue and have resolved.
Have you verified if your local environment allows outgoing connections to port 1433?
- Verify the firewall of your machine if this is allowed
- Verify if the network you are on allows this (maybe there is a company firewall or a proxy blocking the connection)
Sandrino Di Mattia | Twitter: http://twitter.com/sandrinodm | Azure Blog: http://fabriccontroller.net/blog | Blog: http://sandrinodimattia.net/blog
In addition to Sandrino's comments, are you sure it is the connection that is failing? Based on the error message "Unable to ready beyond the end of the stream", my first assumption would be a problem reading the data (perhaps a bug in the code) and not that the code can't connect to the web role instance.
I suggest you Connect Azure VM port via Azure Connect, check this link for more details about Azure Connect:
Hope it can help you.