apache - Unable to access my local site in another computer. (without LAN) -


i using wamp server. below version of php, apache server

-apache 2.4.9

-php 5.5.12

-win7 os

i have developed site in local site(site running under port 81). dont have lan connection other computers. need access site in computer verification. unable access local site in computer. have red different blogs. still problem not solved. below changes made on host files.

  1. c:/windows/system32/drivers/etc/ changes made in hosts file

    127.0.0.1 mylocal.site

  2. c:\wamp\bin\apache\apache2.4.9\conf\extra

added below tags in httpd-vhosts file

<directory "c:/wamp/www/googleoauth/"> order deny,allow allow </directory>  <virtualhost *:81>     documentroot "c:/wamp/www/googleoauth/"     servername mysite.local </virtualhost> 
  1. c:\wamp\bin\apache\apache2.4.9\conf

included "include conf/extra/httpd-vhosts.conf" in httpd.config file

after made these change in system, apache server not started. displays orange color wamp icon in system tray. kindly let me know, mistakes have did in above configuration work. if need access local site in computer, steps need follow. in advance.

to access port other computer should have both systems connected either in same lan (wired/wifi) or different lan.

but testing can connect 2 computers directly cross-over cable. can access other pcs resources pc , vise-versa if in lan. setup limits having 2 computers connected.

note: need change network settings in both pcs once connected cross-over cable , can find many examples in google.

hope helps.


Comments