1

I have a PC and a Mac. My server is running on the Mac on port 3000, and I need to do test on my PC. How can I access my server from my PC which is in the same local network?

1
  • 3
    A Personal Computer and a Media Access Control?
    – esnyder
    Apr 5 '11 at 21:58
1

Get your Mac's IP address from Network preferences (let's say it's 192.168.1.2), then you should just be able to type

http://192.168.1.2:3000/

into Internet Explorer's address bar on the PC.

If you have the firewall enabled on your Mac, you'll need to ensure that whatever web server you're running on it is allowed to accept incoming connections.

1
  • Only works if the IP's configured properly in Apache (or whatever). Might have to set up a 'hosts' alias if it's on a name-based setup.
    – Marc B
    Apr 5 '11 at 22:08
0

Just point your browser to the Mac's IP with the right port.

http://macs-ip:3000

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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