How to enable local network users to access my WAMP sites?

后端 未结 10 1621
心在旅途
心在旅途 2020-11-22 13:47

First of all, I read at least 20 articles about this topic, and not one of them can match up the scenario and I screwed up the process numerous times. So I turn help by offe

相关标签:
10条回答
  • 2020-11-22 14:33

    What finally worked for me is what I found here:

    http://www.codeproject.com/Tips/395286/How-to-Access-WAMP-Server-in-LAN-or-WAN

    To summarize:

    • set Listen in httpd.conf:

      Listen 192.168.1.154:8081

    • Add Allow from all to this section:

      <Directory "cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory>

    • Set an inbound port rule. I think the was the crucial missing part for me:

    Great! The next step is to open port (8081) of the server such that everyone can access your server. This depends on which OS you are using. Like if you are using Windows Vista, then follow the below steps.

    Open Control Panel >> System and Security >> Windows Firewall then click on “Advance Setting” and then select “Inbound Rules” from the left panel and then click on “Add Rule…”. Select “PORT” as an option from the list and then in the next screen select “TCP” protocol and enter port number “8081” under “Specific local port” then click on the ”Next” button and select “Allow the Connection” and then give the general name and description to this port and click Done.

    Now you are done with PORT opening as well.

    Next is “Restart All Services” of WAMP and access your machine in LAN or WAN.

    0 讨论(0)
  • 2020-11-22 14:39
    go to... 
    C:\wamp\alias
    

    Inside alias folder you will see some files like phpmyadmin,phpsysinfo,etc...

    open each file, and you can see inside file some commented instruction are give to access from outside ,like to give access to phpmyadmin from outside replace the lines

    Require local
    
    by
    
    Require all granted
    
    0 讨论(0)
  • 2020-11-22 14:40

    it's simple , and it's really worked for me .

    run you wamp server => click right mouse button => and click on "put online"
    

    then open your cmd as an administrateur , and pass in this commande word

    ipconfig => and press enter
    

    then lot of adresses show-up , then you have just to take the first one , it's look like this example: Adresse IPv4. . . . . . . . . . . . . .: 192.168.67.190 well done ! , that's the adresse, that you will use to cennecte to your wampserver in local.

    0 讨论(0)
  • 2020-11-22 14:43

    I have some experiences in Wamp 3.0 and Apache 2.4 .

    After all works do this steps:

    1- Disable nod32.

    2- Add this line to <VirtualHost *:80> block in httpd-vhosts.conf file:

    Require ip 192.168.100 #client ip, allow 192.168.100.### ip's access
    
    0 讨论(0)
提交回复
热议问题