apache - How to access WAMP Server form everywhere? -


i created first homepage in last weeks , want show friends. using wampserver 2.5 , followed lot of guides nothing worked me.

first of new this, have no idea how accessing works exactly. guess point out how understand should work.

on pc wrote htmls css php , on can access via

localhost:8080/foldername/homepage.php

okay changed port 80 8080 cause lot of guides recommenced it.

a few days ago able reach local ip

192.168.2.103/foldername/homepage.php

or this

i have no idea how did , @ moment doesn't work anymore.

my httpd.config file pretty messed (and long post here), maybe should reinstall wamp.

okay come question: if set correctly able access homepage on pc via

http://ipv4-address/homepage.php
http://91.11.87.45/homepage.php

without buying domain , having wamp installed? page intended not online 24/7 when , friends need it, or wamp online when pc powered.

i did
- "put online"
- portforwarding on router , firewall
- turned off firewall/antivir
- changed httpd.conf , httpd-vhost.conf accordingly guides read
- tried every combination of ips , ports access homepage.php

and out of ideas. guess i'm not 1 problems, because guides comments full of questions , problems^^

i hope explained problem enough :p

when access inside same network, still need 8080:

192.168.2.103:8080/foldername/homepage.php

but if outside network, depend on how port forwarded. if have port 8080 forwarded 192.168.2.103 port 8080, need:

http://91.11.87.45:8080/foldername/homepage.php (also folder name still same if localhost)

if on router have port 80 forwarded 192.168.2.103 port 8080,

http://91.11.87.45/foldername/homepage.php

should work, routers funny , can in port same outport, specific internal address.

so if can do:

  • localhost:8080/foldername/homepage.php

and can do:

  • 192.168.2.103:8080/foldername/homepage.php

but can't do:

-http://91.11.87.45:8080/foldername/homepage.php

or

-http://91.11.87.45/foldername/homepage.php

then trouble in port forwarding of router.

if can't do:

  • 192.168.2.103:8080/foldername/homepage.php

then sounds in wamp config


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -