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'm running apache webserver on Windows 7. I want to access the webserver through my mobile which share the wifi router with my pc locally, is this possible?

ipconfig /all on my computer lists my ip address as 192.168.1.4

Wireless LAN adapter Wireless Network Connection:
    IPv4 Address. . . . . . . . . . . : 192.168.1.4(Preferred)

But I can't access http://192.168.1.4 from either my phone or my computer even. http://localhost works, but only from PC. I can ping my mobile ip address which I looked up in my router's DHCP list. And I can access the router's homepage http://192.168.1.1 from both PC and mobile.

So why can't I access http://192.168.1.4 from my phone? (or PC)

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

Needed to add

Listen 192.168.1.4:80

in Apache's httpd.conf

share|improve this answer
add comment

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.