473,386 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

can't find webservice using IP

Hi, i create an asp.net webservice, then reference this webservice in another
project in the same machine, it works well when using "localhost" to locate
the webservice but fails when using the ip address of my machine (neither
does using the hostname), it says "downloading webservice error because of
the destination machine rejecting..."
It seems not a development problem but one of the windows configuration, i
just hope get some help here.
the running env is vista+vs2008, and there are two net devices available,
and i am also confused about which ip i should use when access the webservice
from the net.
thanks in advanced
Oct 10 '08 #1
4 1957
"fairyvoice" <fa********@discussions.microsoft.comwrote in message
news:E4**********************************@microsof t.com...
Hi, i create an asp.net webservice, then reference this webservice in
another
project in the same machine, it works well when using "localhost" to
locate
the webservice but fails when using the ip address of my machine (neither
does using the hostname), it says "downloading webservice error because of
the destination machine rejecting..."
It seems not a development problem but one of the windows configuration, i
just hope get some help here.
the running env is vista+vs2008, and there are two net devices available,
and i am also confused about which ip i should use when access the
webservice
from the net.
Are you hosting the webservice in IIS, or in the internal server in
Visual Studio? It it is the latter, then you are out of luck: the internal
server only responds to localhost; you will need to move the webservice into
IIS if you wish to access it through your computer's external IP address.

Oct 10 '08 #2
Thank you Alberto.
Do yo mean i have to publish it in the IIS? It seem i do create it in the
file system
Oct 10 '08 #3
Thanks, it is my first time dealing with
Oct 10 '08 #4
"fairyvoice" <fa********@discussions.microsoft.comwrote in message
news:F3**********************************@microsof t.com...
Do yo mean i have to publish it in the IIS? It seem i do create it in the
file system
Yes, the option to create the project on the File System is only for
development. Visual Studio will run it on its internal server, but this is
not accessible from outside the computer. You will need to publish the
application on the local Internet Information Server, assuming that you have
it on your version of Windows.

Oct 10 '08 #5

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

Similar topics

2
by: pronto | last post by:
Hi all. I created simple web service with C# and run it on Win2000 XP sp2. Service has two simple . I test it with my C# client and IE. Now I want to create VC++ 6 application and talk to web...
2
by: Miguel | last post by:
Hi, I'm developing an application in C# with Windows Forms for my company that is similar to the MSN Messenger. This application uses a webservice for registering users, etc... and as 2...
1
by: batista | last post by:
Hi, I'm using webservice.htc to call a non-secure(without https) webservice method from a webpage. Now, if the webpage is not under https then everything works fine. But, when enable ssl in...
1
by: Thom Little | last post by:
I have a simple web service that requires no input and returns a character string. I created the service and FTPd it to a remote server. The .dll to the .bin directory and the single .asmx file...
3
by: LT_Hassan | last post by:
This is only a model program, because it would take too long to demonstrate the real solution. Anyway, I have 3 projects - ClassLibrary1, ConsoleApplication1 and WebSite1 (which hosts webservice)....
0
by: stoffal | last post by:
Hi! I would like to use a webservice which offers to layout a graph structure automatically. Regarding the WSDL description it looks pretty simple: http://cmap.ihmc.us/xml/LayoutWebService.html ...
1
by: stoffal | last post by:
Hi! I would like to use a webservice which offers to layout a graph structure automatically. Regarding the WSDL description it looks pretty simple: http://cmap.ihmc.us/xml/LayoutWebService.html...
2
by: Jay | last post by:
Getting into AJAX using the XMLHttp object and am really liking it. We are in the process of upgrading our existing behavior calls (webservice.htc) to the more 'supported', as they say, concept...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
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...
0
BarryA
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.