Hey Nick, Any IP address starting with 192.168 is a local IP. That means it is only valid within your local network. No one in the world (except you and anyone else on your local network) can see your web service when they click that link. That includes the DiscountASP servers, which is your problem. You need to set up an external web host. That basically involves making sure your router forwards HTTP traffic to your web server inside your network and addressing your network by its 'external' IP or domain name. An easy way to figure out your IP is to go to www.whatismyip.com (be careful if you have a dynamic IP where your ISP can reassign your IP at any time). Setting up a web host is obviously a pretty in-depth topic so you'll need to understand more than what I've mentioned here. It could even be an entire business (just ask DASP!). Good Luck, Jeremy
it should work fine as I can pull http://nweeble.no-ip.info/ServerInfo/Service.asmx from the web server. Check to make sure you set the URL correctly, you may have pointed it to 192.168.2.201/ServerInfo/Service.asmx You can also set the web service URL dynamically by using the .url property Bruce DiscountASP.NET www.DiscountASP.NET
Yes I just discovered this 10 seconds ago. I had to change the following line in web.config <appSettings> <add key='HomeServer.Service' value='http://nweeble.no-ip.info/ServerInfo/Service.asmx'/> </appSettings> Used to have the local IP address there. Thanks for the reply Nick
Yes sorry I know all this. I meant to post the URL http://nweeble.no-ip.info/ServerInfo/Service.asmx. It was late last night when I posted!
Hi, When my C# code running at discountasp.net calls a web service on my home server I get a exception stating a connection failure. I know the web service works becuase you can view it at 192.168.2.201/ServerInfo/Service.asmx, and it works fine when I run my web site locally. Any ideas why? Nick