Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

Consuming Web Service on Shared Hosting Platform

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Barrie Wilson - 20 Mar 2008 18:15 GMT
I have a really simple test app which consumes two public web services (one
stock quote and one Amazon books collection);  it works just fine when
posted on my local servers but when I publish it to either of my two public
servers (shared hosting accounts), I get the .ASPX page ok but when I click
the button to access the web services I get nowhere;  more specifically, I
get this message at the top of the stack:

"[SocketException (0x274c): 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"

ok, the easy advice is to call the hosting service and check their docs but
(a) they never know what's wrong, and (b) they don't have much in the way of
docs ... sure, I can change hosting providers but it's gonna be a real pain
so I'd like to avoid it ... if I can

My question is whether anyone might have an idea where the problem is, and
more generally, is it common to find this is a problem on a shared host
platform?  If it is a common problem, are there any hosting services where
it's NOT a problem .. hopefully one that's on the low end of the pricing
scale;  right now I just need to do some proof of concept work and have it
publicly accessible.

Thanks for any help ...

BW
Cowboy (Gregory A. Beamer) - 20 Mar 2008 20:44 GMT
Your host may restrict outgoing ports. That is the first thing I think of.

Signature

Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

*************************************************

| Think outside the box!

*************************************************

> I have a really simple test app which consumes two public web services
> (one stock quote and one Amazon books collection);  it works just fine
[quoted text clipped - 23 lines]
>
> BW
Peter Bromberg [C# MVP] - 20 Mar 2008 21:21 GMT
Some "el-cheapo" web hosting companies (GoDaddy.com comes to mind) restrict
things like outbound webrequests. Sound ludicrous on the face of it, but
that's what they do.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net

> I have a really simple test app which consumes two public web services (one
> stock quote and one Amazon books collection);  it works just fine when
[quoted text clipped - 22 lines]
>
> BW
Barrie Wilson - 21 Mar 2008 02:21 GMT
thanks, Peter, Cowboy ... I found a way to get around it using an
unpublished proxy maintained by the ISP ...

> Some "el-cheapo" web hosting companies (GoDaddy.com comes to mind)
> restrict
> things like outbound webrequests. Sound ludicrous on the face of it, but
> that's what they do.
> -- Peter

> Site: http://www.eggheadcafe.com
> UnBlog: http://petesbloggerama.blogspot.com
[quoted text clipped - 37 lines]
>>
>> BW

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.