Pages: 12Next
Current Page: 1 of 2
Cannot access WAMP via LAN
Posted by: SimbaLion (---.dhcp.athn.ga.charter.com)
Date: October 31, 2014 10:23PM

Hi, I've been using WAMP in a single-seat setup for awhile and it's worked great, however today I tried to set it up so I could use it from my notebook and it refuses to handshake. I used wireshark to confirm SYN packets are reaching the server but there are no ACKs.

I disabled windows firewall on both machines, I've tried various configurations in httpd.conf, allow from all, allow from subnet, allow from ip, but nothing seems to work.

Please help

Options: ReplyQuote
Re: Cannot access WAMP via LAN
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: November 01, 2014 12:18AM

If you have set Apache ( httpd.conf) to use 'Allow from all' properly then it should respond to a connection from any IP address.

There could be a hundered things that you have changed that woudl effect this so it is almost impossible to diagnose the issue from here with the amount of information available in your 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
Re: Cannot access WAMP via LAN
Posted by: tuxor (---.prod-infinitum.com.mx)
Date: December 09, 2014 09:41PM

Hi, I did all yo said here to create a virtual host, but when i go to my project url, example ejemplo.pv, at the end of the pat appears "\" like this ejemplo.pv\ and i can't see the index.php because the \ appears automatically. How can I fix it?

thank you.

Options: ReplyQuote
Re: Cannot access WAMP via LAN
Posted by: RiggsFolly (---.as43234.net)
Date: December 09, 2014 10:04PM

Show me your httpd-vhosts.conf file please.

---------------------------------------------------------------------------------------------
(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: Cannot access WAMP via LAN
Posted by: tuxor (---.prod-infinitum.com.mx)
Date: December 09, 2014 10:08PM

thank you for answer, here is the content of the file

<VirtualHost *:80>
DocumentRoot "c:/wamp/www"
ServerName localhost
ServerAlias localhost
<Directory "c:/wamp/www">
AllowOverride All
Require local
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "e:/seipv/www"
ServerName sei.pv
ServerAlias www.sei.pv
<Directory "e:/seipv/www">
AllowOverride All
Require all granted
Allow from All
</Directory>

php_flag display_errors Off
php_flag log_errors On

php_value max_upload_size 40M
php_value max_execution_time 120
php_value error_log "d:/wamp/logs/example_com_phperror.log"
</VirtualHost>



Edited 1 time(s). Last edit at 12/09/2014 10:10PM by tuxor.

Options: ReplyQuote
Re: Cannot access WAMP via LAN
Posted by: RiggsFolly (---.as43234.net)
Date: December 09, 2014 10:16PM

Have you tried manually entering 'sei.pv/index.php' (without the single quotes) Does that run index.php

Are you sure you have an index.php in the root folder i.e. e:/seipv/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: Cannot access WAMP via LAN
Posted by: tuxor (---.prod-infinitum.com.mx)
Date: December 09, 2014 10:22PM

This is what I do:

1.- put the url sei.pv
2.-appears sei.pv/login.php
3.-I'm login.
4.-the browser go to sei.pv\/index.php.
5.-I need to erase the \ and the browser go to sei.pv/index.php and works ok.

Why the wampserver puts the "\"? I tested the same project with xampp and doesn't puts the "\"

Options: ReplyQuote
Re: Cannot access WAMP via LAN
Posted by: RiggsFolly (---.as43234.net)
Date: December 09, 2014 10:41PM

This is not WAMPServers doing, its something you have done or not done.

Do you have a .htaccess file in this project?

---------------------------------------------------------------------------------------------
(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: Cannot access WAMP via LAN
Posted by: tuxor (---.prod-infinitum.com.mx)
Date: December 09, 2014 10:57PM

no, i don't have. What i need to put in this file?

can you tell me please?

Options: ReplyQuote
Re: Cannot access WAMP via LAN
Posted by: RiggsFolly (---.as43234.net)
Date: December 09, 2014 11:25PM

Excuse me, please remember I am not clare voyant, and I cannot see over your shoulder.

If I was there I imagine it would only take a few minutes but I am 5000 miles away and you are not being very forthcoming with information.


I would imagine it is something in your web site code that is adding the '\' as this is not a webserver character.

Please check the website code is not adding this character.

---------------------------------------------------------------------------------------------
(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: Cannot access WAMP via LAN
Posted by: tuxor (---.prod-infinitum.com.mx)
Date: December 09, 2014 11:41PM

Thank you for answer.

Sorry if i can't give to you mor information, just tell me what do you need and i give to you. Now, the \ only appears with the virtual hosts, if I put the same project in the wamp/www/seipv and go to localhost/seipv it works fine.

So, maybe its because I don't have the .htaccess file.

Options: ReplyQuote
Re: Cannot access WAMP via LAN
Posted by: RiggsFolly (---.as43234.net)
Date: December 10, 2014 12:04AM

No need for a .htaccess


Have you changed anything else like the httpd.conf file?

---------------------------------------------------------------------------------------------
(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: Cannot access WAMP via LAN
Posted by: tuxor (---.prod-infinitum.com.mx)
Date: December 10, 2014 12:17AM

I did everithing of this tutorial, [forum.wampserver.com]

I've changed this files

\wamp\bin\apache\apache2.4.9\conf\extra\httpd-vhosts.conf:

<VirtualHost *:80>
DocumentRoot "c:/wamp/www"
ServerName localhost
ServerAlias localhost
<Directory "c:/wamp/www">
AllowOverride All
Require local
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "d:/websites/example.com/www"
ServerName example.dev
ServerAlias www.example.dev
<Directory "d:/websites/example.com/www">
AllowOverride All
Require all granted
</Directory>

php_flag display_errors Off
php_flag log_errors On

php_value max_upload_size 40M
php_value max_execution_time 120
php_value error_log "d:/wamp/logs/example_com_phperror.log"
</VirtualHost>


C:\windows\system32\drivers\etc\hosts

127.0.0.1 localhost
127.0.0.1 project1

::1 localhost
::1 project1

127.0.0.1 example.dev
::1 example.dev

httpd.conf

# Virtual hosts
Include conf/extra/httpd-vhosts.conf



There are all the files i've modified

Options: ReplyQuote
Re: Cannot access WAMP via LAN
Posted by: RiggsFolly (---.as43234.net)
Date: December 10, 2014 12:21AM

Well its nearly midnight here and my brain has stopped working.

I can see nothing wrong with those changes you have mentioned.

---------------------------------------------------------------------------------------------
(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: Cannot access WAMP via LAN
Posted by: tuxor (---.prod-infinitum.com.mx)
Date: December 10, 2014 12:47AM

hi again.

Yes, it's very strange the error. I just did a new test, in the file C:\windows\system32\drivers\etc\hosts

I did this

127.0.0.1 sei.pv
::1 sei.pv

and the conten of wamp/www I moved to wamp/www/raiz , now, the project seipv y moved to wamp/www and it shows the same error. The \ appears at the end of sei.pv\

Do you think the problem is in the hosts file?

Options: ReplyQuote
Re: Cannot access WAMP via LAN
Posted by: RiggsFolly (---.as43234.net)
Date: December 10, 2014 10:27AM

No your HOSTS file looks good.

The php code youare running, is this something you have written or a package of some sort?

Has it run else where and if so on what version of Apache / PHP?

I realise you have not told us the answers to these questions Please would you.

---------------------------------------------------------------------------------------------
(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: Cannot access WAMP via LAN
Posted by: tuxor (---.prod-infinitum.com.mx)
Date: December 10, 2014 08:06PM

1 - Windows version used: 64 bit
2 - Version WampServer 2.5.1 - 64 bit
3 - Apache Version 2.4.9
4 - PHP Version 5.5.12
5 - MySQL Version 5.6.17
6 - What color is the WampServer icon (in the notification area of the taskbar) green

Options: ReplyQuote
Re: Cannot access WAMP via LAN
Posted by: tuxor (---.prod-infinitum.com.mx)
Date: December 10, 2014 08:15PM

windows 7 64bit

Options: ReplyQuote
Re: Cannot access WAMP via LAN
Posted by: RiggsFolly (---.as43234.net)
Date: December 11, 2014 10:14AM

And these questions.

Quote

The php code youare running, is this something you have written or a package of some sort?

Has it run else where and if so on what version of Apache / PHP?

---------------------------------------------------------------------------------------------
(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: Cannot access WAMP via LAN
Posted by: tuxor (---.prod-infinitum.com.mx)
Date: December 11, 2014 06:10PM

the proyect i did by myself.

If I put the proyect in wamp/www/proyect all works fine, but if I use the virtual host automatically puts the "\" at the end of the name of virtual host. example project.com\/index.php

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


Sorry, only registered users may post in this forum.