Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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:

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.

share|improve this answer

Your Answer

 
discard

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.