473,763 Members | 6,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "downloadin g 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 1976
"fairyvoice " <fa********@dis cussions.micros oft.comwrote in message
news:E4******** *************** ***********@mic rosoft.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 "downloadin g 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********@dis cussions.micros oft.comwrote in message
news:F3******** *************** ***********@mic rosoft.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
2051
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 service with SOAP SDK lib. It's good so far, but SOAP SDK samples are using link to the WSDL file for the tested WebService. I have search whole computer with WebService running
2
5712
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 webbrowser controls on it. Besides that i'm using the firewall client for isa server 2004 and it seems that the browsers aren't able to pass thru it... if i disable the firewall the browsers work fine, if i don't, the 2 browsers just stay there...
1
2246
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 that page the webservice method does'nt work. So how shud i solve this.
1
3479
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 to a directory called Services. When referenced from a webapplication running on localhost it operates correctly. When referenced from a webapplication running on the same remote server as the webservice it operates correctly.
3
2164
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). ClassLibrary1 looks like this: ------------------------------------------------ using System; using System.Collections.Generic; using System.Text;
0
1017
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 You input the graph data, and you recieve back graph data including the optimal x/y coordinates. Please note that this webservice requires the data in a special XML type (called CMAP), you can find an example here:...
1
1744
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 You input the graph data, and you recieve back graph data including the optimal x/y coordinates. Please note that this webservice requires the data in a special XML type (called CMAP), you can find an example here:...
2
3297
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 of AJAX. One thing I noticed was that the .htc code practically does the same thing AJAX does - with nice code that allows you to .value reference the return XML nice and easily - and now I'm wondering why I should even bother trying to reinvent...
0
9563
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9386
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10144
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9997
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9822
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8821
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5270
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3522
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.