Unable to access wampserver 2.5 from network or internet
Posted by: Ap0calyps3 (---.access.mtnbusiness.co.za)
Date: May 09, 2014 01:04AM

Version of Operating system? Win7 SP1 Pro 64bit
Version of Wamp Server installed? WAMPServer 2.5 64bit
Version of Apache you are running? Apache Version : 2.4.9
Version of MySQL you are running? MySQL Version : 5.6.17
Version of PHP you are running? PHP Version : 5.5.12

Green, and put online in tray icon

WAS working in wampserver 2.2

Now it is not working.

Installed to a clean directory. It is not firewall, as I said, 2.2 was working from network and internet. Might be a bug. Will do some comparing between 2.2 online/offline httpd conf and 2.5 and see what's missing or not. I hope I can fix this quickly, and post back with answer, if no one else has.

If problem is my side, then suggestions are welcome, I'm keen to try.

Edit: BTW, I tried putting index.php as well. I can access localhost from pc, get into phpmyadmin and so. I can also access project from pc. But unable to access project from network or internet.



Edited 1 time(s). Last edit at 05/09/2014 01:06AM by Ap0calyps3.

Options: ReplyQuote
Re: Unable to access wampserver 2.5 from network or internet
Posted by: RiggsFolly (---.as13285.net)
Date: May 09, 2014 02:43AM

Did you use the Put Online menu to allow access to your site?

Is your site running in a Virtual Host or just in sub folder of www?

---------------------------------------------------------------------------------------------
(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: Unable to access wampserver 2.5 from network or internet
Posted by: Ap0calyps3 (---.dynamic.isadsl.co.za)
Date: May 09, 2014 03:33AM

Yes, in first post below system info I put green and put online in tray menu

It is running in sub folder of www, i believe you said in another thread that you are going to make a guide for doing virtual hosts,

Options: ReplyQuote
Re: Unable to access wampserver 2.5 from network or internet
Posted by: RiggsFolly (---.as13285.net)
Date: May 09, 2014 04:25AM

See this post [forum.wampserver.com]

---------------------------------------------------------------------------------------------
(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-



Edited 2 time(s). Last edit at 05/09/2014 04:28AM by RiggsFolly.

Options: ReplyQuote
Re: Unable to access wampserver 2.5 from network or internet
Posted by: RajRB (---.static.ziggozakelijk.nl)
Date: October 14, 2014 04:13PM

Hi RiggsFolly,

I am newbie to setting up server,etc. Actually, I am looking forward to upload a file in my WAMP server (in my PC) from my mobile and display it in MySQL database through internet.

First of all, I want my Wamp server to be online (internet) and I read many posts and blogs about it but I am facing trouble with it.
I am using wamp v2.5, Apache : 2.4.9, MySQL : 5.6.17, PHP : 5.5.12, PHPMyAdmin : 4.1.14.

Other things I did:

1) I planned to use port 50150. So, I enabled Inbound/Outbound rules in Firewall.

2) Next, in my httpd.conf file, I changed as below

Listen 0.0.0.0:50150

Listen [::0]:50150

3) Also, in httpd.conf file, I changed "ServerName 192.xxx.yyy.zzz:50150"
where 192.xxx.yyy.zzz is the IPv4 address I got from ipconfig in command line window.

4) Also, I changed (#onlineoffline tag - don't remove) in httpd.conf file from
'Require local' to 'Require all granted'

5) Also, I made 192.xxx.yyy.zzz as static IP of my PC with the help of Port Forward software.


But I am not able to port forward using the above Port Forward software. My PC is connected to Linksys Router (through WIFI) which is further connected to the building Router 192.xxx.yyy.1.
When I type '192.xxx.yyy.z' in browser, it goes to the building router in which I have no access.
I am not sure whether the problem is because of this.

Actually, when I entered 192.xxx.yyy.zzz: 50150 in my mobile's browser, it did not connect (Both were connected to same router).



It worked well when I connected locally with browser but suddenly the icon is orange and does not
turn green after restarting it many times.

I think there is some issue with httpd.conf file. Please check and let me know.


#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 0.0.0.0:50150
Listen [::0]:50150


#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#
ServerAdmin admin@example.com

#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName 192.xxx.yyy.zzz:50150

HostnameLookups Off

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "G:/wamp/www/"

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
AllowOverride none
Require all denied
</Directory>

#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

<Directory "G:/wamp/www/">

#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride all

#
# Controls who can get stuff from this server.
#

# onlineoffline tag - don't remove
Require all granted
</Directory>



Also please let me whether I need to do any changes other wamp server files ?
Also, I am not sure whether I need to use virtual hosts for my work because of Wamp v2.5.

Thank you Riggs!

Options: ReplyQuote
Re: Unable to access wampserver 2.5 from network or internet
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: October 14, 2014 04:33PM

If your router does not have direct access to the outside world i.e. is a secondary router, inside what you call the 'building router' and you have no access to the 'building router' to Port Forward it, then I am afraid you will not be able to give access to your site to the internet.

Its the 'building router' that would need to be Port Forwarded, as that is the first router in the chain and it is protecting all its ports so nothing can enter that router so whatever you do to your router is irrelevant.

Thats all she wrote!

---------------------------------------------------------------------------------------------
(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: Unable to access wampserver 2.5 from network or internet
Posted by: RajRB (---.static.ziggozakelijk.nl)
Date: October 14, 2014 04:56PM

Thanks for the very quick response RiggsFolly. I will try to get access to the main router.

Also, since I need to upload a file to my server, what changes should I make in my wamp v2.5 settings?
( to receive a file from a specific public ip address and as well as private ip address).

Thanks you for your guidance!!

Options: ReplyQuote
Re: Unable to access wampserver 2.5 from network or internet
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: October 14, 2014 06:11PM

Sorry Raj,

I am not sure I quite understood the file upload question.

---------------------------------------------------------------------------------------------
(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.