Make WAMP www available on local network

前端 未结 9 1443
后悔当初
后悔当初 2020-12-17 22:15

I know there are questions similar to this, but none address my specific situation.

I have a WAMP server setup for developing some websites, and it\'s running great.

相关标签:
9条回答
  • 2020-12-17 22:23

    Try these recommendations. My suggestion would be to check if Apache is bind only to 127.0.0.1 (localhost) and add 192.168.2.1 mapping if it is not there. Don't forget to restart Apache after adding it.

    0 讨论(0)
  • 2020-12-17 22:29

    By default httpd.conf have the following settings.

     Deny from all
    

    you have to make the below mentioned changes.

     Allow from all
    

    and make WAMP as a online.

    You can access you site by IP address or Computer name from Network.

    0 讨论(0)
  • 2020-12-17 22:37

    You could try adding the hostname of the server to the hosts file on the Mac. Then you're hitting the HTTP server using a valid hostname.

    0 讨论(0)
  • 2020-12-17 22:39

    I think you are using wrong ip address as most of router uses 192.168.1.1 for itself. Thats why you are not able to view anything i.e your computer has different ip address.

    To solve it, first you need to know ip address of your ow computer I window go to cmd and type ipconfig there you can see your computer lan ip address in IPv4

    Use this ipaddress to connect to wamp server.

    Hope this help you

    0 讨论(0)
  • 2020-12-17 22:41

    I had the same problem with my Wordpress site. My aim was to see the developmental website from a browser in another PC/Linux Workstation on the LAN. Following steps resolved the issue for me:

    1. Go to WordPress Settings > General > WordPress Address (URL) and Site Address (URL)

    2. Add local IP address of the localhost PC where WAMP server is running to the fields and save the settings. (e.g. http:// 192.168.0.101/wordpress; Use ipconfig in a DOS command window to get IP address of the localhost).

    3. From the WAMP server menu on system tray "Put Online". Now any other devices in the LAN can view the website using the IP address on a browser (http:// 192.168.0.106/wordpress) and the links should be working now.

    0 讨论(0)
  • 2020-12-17 22:41

    First of all put online your wamp on your dashboard. And then put off your firewall Later on if there is a setting in httpd.conf file Listen 127.0.0.80 if this is different than that.

    Change it to Listen 127.0.0.80 to Allow for all restart Wamp all services.

    0 讨论(0)
提交回复
热议问题