Deployed ASP.Net system will not connect to Web Service ..but will connect from Visual Studio!

Greetings,

I'm new to this so I apologize in advance!

I developed an ASP.NET in VS and it pulled the information it needed from the remote site. Once deployed to the "apps" server it gives the message below.

What can be the cause of my problem?

Many thanks,

Paul


A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 109.169.78.11:80
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 109.169.78.11:80

Source Error:


Line 128:                                             AppSettingsHelper.FixYourStreetApiFolder(), _
Line 129:                                             AppSettingsHelper.FixYourStreetApiVersion())
Line 130:        Dim ListOfIncidents As List(Of FixYourStreetIncident) = Client.GetIncidentsGreaterThanId(LastFYSIncidentOnTasklist)
 
Source File: c:\inetpub\wwwroot\Liosta\Tasklist.aspx.vb    Line: 130
TableclothAsked:
Who is Participating?
 
CodeCruiserCommented:
Any firewalls in between?
0
 
TableclothAuthor Commented:
Hi Codecruiser,

Thanks for the quick reply.

Yes, there is a Firewall, but tests I did on the server, on instructions from the remote site people, show that we CAN connect over it.

All very mysterious, its possible to run the project in Visual Studio but not when deployed..

As ever it's no doubt something small that I've overlooked...
0
 
TableclothAuthor Commented:
Would you have any further ideas?
0
 
CodeCruiserCommented:
Try telneting on that ip and port. Error message indicates connection issues.
0
 
TableclothAuthor Commented:
Thank you Codecruiser, it was the Firewall all along!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.