Can't setup WAMP to be accessibly to others via WAN IP
Posted by: Netheous (---.adsl.inetia.pl)
Date: January 06, 2016 12:54PM

I've reinstalled my windows and wamp along with it and appearently I can no longer view my website from outside my home.

I've managed to get it to work previously, just not now.

I've forwarded the port 8080 and disabled anything that would collide with it (which would be unlikely anyways).

Here's a raw copy of my config:
[puu.sh]

Options: ReplyQuote
Re: Can't setup WAMP to be accessibly to others via WAN IP
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: January 06, 2016 03:53PM

Hello


Couple of things stick out!

1. Why are you Listening on port 8080 and not 80? It makes getting to your site so much easier for people as they dont have to remember to add a port number to the url.

2. This is very dangerous, as it now allows access to the root of the drive that Apache is installed on.

<Directory />
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

Revert this back to
<Directory />
    AllowOverride none
    Require all denied
</Directory>

You should be able to just use the wampmanager menu to give full access by

wampmanager -> Put Online

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Can't setup WAMP to be accessibly to others via WAN IP
Posted by: Netheous (---.adsl.inetia.pl)
Date: January 07, 2016 08:36AM

It constantly says 'Put Offline' - it's not accessible to other people.
And I don't mind them having full access, I only want to show website to my buddy - not actually it being accessible in general.

Options: ReplyQuote
Re: Can't setup WAMP to be accessibly to others via WAN IP
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: January 07, 2016 10:08AM

Quote

And I don't mind them having full access, I only want to show website to my buddy - not actually it being accessible in general.

In order for your buddy to see it, so can the whole world.

If you get hacked, and the hacker finds they can delete files from your C:\windows folder, and you are looking for someone to blame, remember its the fault of the person you see in the mirror every morning.

Please revert this
<Directory />
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

Back to this
<Directory />
    AllowOverride none
    Require all denied
</Directory>

Especially as your change is not a necessary to allow full access to a web site in apache.


If you are still Listening on port 8080, are you using a url in the browser that contains this port number when you try to connect from another place?

i.e.

'http://your-wan-ip-address:8080'

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.