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 3 1803
Your host may restrict outgoing ports. That is the first thing I think of.
--
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!
|
*************************************************
"Barrie Wilson" <bw*****@nowhere.comwrote in message
news:fX******************@en-nntp-04.dc1.easynews.com...
>
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
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
"Barrie Wilson" wrote:
>
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
thanks, Peter, Cowboy ... I found a way to get around it using an
unpublished proxy maintained by the ISP ...
"Peter Bromberg [C# MVP]" <pb*******@yahoo.NoSpamMaam.comwrote in message
news:53**********************************@microsof t.com...
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
"Barrie Wilson" wrote:
>> 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Keith E. |
last post by:
I have implemented a Web Service on an IIS 5.0 platform using the ASP listener
I can access the Web Service just fine from a VB 6 App and classic ASP using the SOAP 3.0 toolkit and its...
|
by: J |
last post by:
Hello,
What is the best/easiest way to setup interprocess communication between
a windows service and a webservice? The windows service will be running on
the same machine that is hosting the...
|
by: Gary Webb |
last post by:
Is it possible to host a .NET Web Service (managed code using the .NET
Framework 1.1) without IIS? I remember a website that indicated it was
possible to use a .NET Remoting server to host a Web...
|
by: Matt D |
last post by:
I've got two web services that use the same data types and that
clients will have to consume. I read the msdn article on sharing types...
|
by: Andy |
last post by:
Hi all, I'm familiar with web service compression and how to implement
it in a Winforms app. What I'm trying to figure out how to do at this
point is how to consume the service from an ASP.NET...
|
by: Coward 9 |
last post by:
HI,
I created the simplest "ASP .NET Web Service" by using VS 2005 and
Visual C#( File | New | Web Site). However, when I tried to access the
service from IE 7.0
...
|
by: JamesB |
last post by:
I am writing a service that monitors when a particular app is started.
Works, but I need to get the user who is currently logged in, and of course
Environment.UserName returns the service logon...
|
by: jonny |
last post by:
Please recommend a Web Hosting Service that supports ASP.NET and SQL
server. I am new at this and just signed up with Yahoo before I new
any better. It appears that yahoo does not support ASP.NET...
|
by: Scott M. |
last post by:
Believe it or not, I've searched quite a bit and can't find any relevant
information on how to consume a J2EE web service from a .NET consumer
WITHOUT the aid of any 3rd party tools.
I have two...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |