2

I have a web service running on the localhost of my PC. I set up an ad hoc local wifi network and I would like to access the web service from my Mac. Can this be done?

What would the url to my web service be? (http://localhost:49973/BaseballWebService/Service.asmx - insert static ip somewhere?)

Bryan
  • 149
  • 1
  • 3
  • 10

2 Answers2

1

From the mac browse to:

http://:49973/BaseballWebService/Service.asmx

That's the basics of it.

To find your PC's IP: Start -> Run. Then type in cmd. At the console type and run:

ipconfig /all

You'll have to find the IP address being used on the ad-hoc network. This might well be different to your normal IP, especially if you also have ethernet, etc.

Check your firewall on the PC too. Do you know which firewall you have running? Which OS are you running?

This is more of a PC than a Mac question.

Alex
  • 1,103
  • 6
  • 12
0

It should be as easy as simply replacing the word 'localhost' with the IP or DNS address of your 'server' machine. That said you may have firewall rules, web server setup options etc. which could get in the way of this but it's worth trying first of all as it's so easy.

Chopper3
  • 100,240
  • 9
  • 106
  • 238
  • 1
    That didn't work. How would I tell if a firewall was intercepting. Can the IP be automatically assigned? – Bryan Oct 23 '09 at 00:41