473,466 Members | 1,397 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Cannot connect to webservice from another machine

I have the simple Hello World web service running on my development machine
(XP Pro SP2). I'm using VS2005. I'm able to access it from my machine. When I
try to access it from another machine (also XP pro SP2), using the URL:
"http://nav:24035/WebServ/Service.asmx?op=HelloWorld", I get a "Cannot find
server or DNS Error" error.

There is no firewall on either machine. I'm able to access this URL just
fine: "http://nav".

Please help.
Nov 23 '05 #1
4 4648
When you say "there is no firewall on either machine" do you mean you
disabled the firewall, becuase the firewall is installed and turned on with
XP SP2.

you may want to check that port 24035.

Also try just the service page to get a list of methods:
http://nav:24035/webserv/service.asmx

or without the port: http://nav/webserv/service.asmx

Good luck,

John

"naveed" wrote:
I have the simple Hello World web service running on my development machine
(XP Pro SP2). I'm using VS2005. I'm able to access it from my machine. When I
try to access it from another machine (also XP pro SP2), using the URL:
"http://nav:24035/WebServ/Service.asmx?op=HelloWorld", I get a "Cannot find
server or DNS Error" error.

There is no firewall on either machine. I'm able to access this URL just
fine: "http://nav".

Please help.

Nov 23 '05 #2
Thanks for your reply, John. The firewalls have been disabled.

I get the same exact errors with http://nav:24035/webserv/service.asmx

Without the port, I get this error:

Server Error in '/' Application.
--------------------------------------------------------------------------------

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its
dependencies) could have been removed, had its name changed, or is
temporarily unavailable. Please review the following URL and make sure that
it is spelled correctly.

Requested URL: /webserv/service.asmx
Nov 23 '05 #3
Hi,

just a few things to check:

- does the "http://nav:24035" URL by itself show you the documentation
page?
- Do you use WSE2 or higher? (WS-Addressing)

Hope this helps,

Marvin Smit.

On Wed, 19 Oct 2005 12:48:04 -0700, naveed
<na****@discussions.microsoft.com> wrote:
Thanks for your reply, John. The firewalls have been disabled.

I get the same exact errors with http://nav:24035/webserv/service.asmx

Without the port, I get this error:

Server Error in '/' Application.
--------------------------------------------------------------------------------

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its
dependencies) could have been removed, had its name changed, or is
temporarily unavailable. Please review the following URL and make sure that
it is spelled correctly.

Requested URL: /webserv/service.asmx


Nov 23 '05 #4
Thanks. Actually the issue was with the internal web server which doesn't
allow remote connections.

Naveed
Nov 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jeff Sandler | last post by:
I have a database I created in mySQL. I've been entering data every day into the database using a Java application that I wrote. The database and the Java program are on the same Win 98 SE...
2
by: alexmaster_2004 | last post by:
hi every one i have made a webservice that access a sql2000 database server. when i have devloped this webservice on my machine it was run correctly. and it was use trusted connection to connect...
1
by: Nalaka | last post by:
Hi, I have a webservice application(asp.net 2.0) running on IIS 6.0 ... win 2003. I can call the webservice from the local machine, but if I call the web service from a different machine, the...
1
by: Sridhar, S. | last post by:
Hi all, I am working on a project which requires webservices to log information about requests that are sent to it. I have written a SoapExtension that logs client information when a request is...
2
by: Rossco | last post by:
I have a VB.NET serviced component (COM+), running on a lan, that calls out to an external web service to place an order with a supplier. The problem machine is the middle tier (COM+) for our in...
0
by: Rene Ruppert | last post by:
Hi, On the web I found a simple sample/tutorial for a webservice, some kind of chat software. I implemented the server and the client. When I run the client form on the host PC everything works...
10
by: blurryimage | last post by:
Ok guys I have racked my brain on this one. I have a vb .net service installed on a win2k server. I am trying to get it to connect to sql 2000 box but I get this error: An error has occurred...
1
by: Dan | last post by:
Hi I have a dotnet application that communicates with a web service running locally on my machine. It connects fine and works ok when I run the application from the c: drive. Am having...
4
by: eschneider | last post by:
I get the following error when trying to browse the .asmx. I get the same thing when trying to add a reference. using .NET 2.0 There is no error message. Any ideas? Thanks,
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
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,...
0
jinu1996
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.