Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have test website on my system (MacBook Pro with Mac OSX Lion). The website is served by nginx listening on port 8000. The listen configuration is listen 8000 default, so it should be open to accept request on any ip.

I can access the server from localhost but I cannot even access it from other systems in the same LAN. I configured OSX firewall to allow incoming for nginx. In the firewall log I see no 'deny' reports, and also I see no 'allowed' reports. So, I suspect the connection is getting blocked even before reaching the firewall.

To test if my LAN is working fine, I installed nginx on another system in tha LAN. I could access that from my Mac. So, LAN is configured properly. What else could be the problem?

share|improve this question
    
In addition to allowing incoming for nginx, have you opened incoming tcp port 8000? Take a look at apple.stackexchange.com/questions/31376/… –  Mxx May 17 '12 at 6:51

2 Answers 2

Try to ping your machine from another one. Also, try your IP:port combination, e.g. 192.168.1.1:8000 from another one to hunt down the problem.

share|improve this answer
    
I do not get any response for the ping. –  AppleGrew May 17 '12 at 12:19
    
Then it must be firewall. –  summer.breeze May 18 '12 at 9:40
    
But I face this issue even after I turn it off! –  AppleGrew May 18 '12 at 16:19

Are both computers on the same network? If not, it can be a firewall inside betwen the two computers. Does the computer you are trying to ping from have a firewall enabled? Can you ping google or any other computer in the same network for example from that computer?

Are you sure 192.168.1.1 is your MAC IP? (You can get this from Network Preferences or File Sharing in Sharing or using ifconfig on a terminal window)

After you get the right IP, try pingin from another computer in the same network.

Hope it helps.

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.