Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?)

share|improve this question
up vote 0 down vote accepted

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.

share|improve this answer
That didn't work. How would I tell if a firewall was intercepting. Can the IP be automatically assigned? – Bryan Oct 23 '09 at 0:41

From the mac browse to:


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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.