Localhost projects not working - unable to contact server
Posted by: PaulWolf (94.165.250.---)
Date: October 01, 2014 04:25PM

Version of Operating system Windows 8.1 64bit
Version of Wamp Server installed 2.5 64bit (but the problem exist also with 32bit version)
Version of Apache : 2.4.9
MySQL : 5.6.17
PHP : 5.5.12

WampManager icon Green

No Virtual Hosts.

HOSTS file [c:\windows\system32\drivers\etc\hosts] content:

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost

127.0.0.1 localhost
127.0.0.1 localhost
127.0.0.1 localhost

Options: ReplyQuote
Re: Localhost projects not working - unable to contact server
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: October 01, 2014 05:33PM

Hi Paul,

Just a guess here but try adding changing your HOSTS file to


127.0.0.1 localhost
::1 localhost

---------------------------------------------------------------------------------------------
(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 1 time(s). Last edit at 10/02/2014 02:04AM by RiggsFolly.

Options: ReplyQuote
Re: Localhost projects not working - unable to contact server
Posted by: PaulWolf (94.165.250.---)
Date: October 01, 2014 08:37PM

Hi Riggs,
I added ::1 localhost to the hosts file, but unfortunately the problem is the same: WAMP seems to be stared correctly. bu the projects doesn't work.

Maybe the Virtual Host definition is mandatory with Windows 8.2 and WAMP 2.5?

Any ther guess?

Thanks

Options: ReplyQuote
Re: Localhost projects not working - unable to contact server
Posted by: PaulWolf (94.165.250.---)
Date: October 01, 2014 09:49PM

Hi Riggs,
maybe this helps: if I use the standard WAMP interface it tries to connect to

"[MYPROJECT"]; (obviously MYPROJECT is a sample name)

and it doesn't work, but if I manually use

"localhost/MYPROJECT"

it works.

Options: ReplyQuote
Re: Localhost projects not working - unable to contact server
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: October 02, 2014 02:05AM

Hi Paul,

Read this it explains what is happening and what to do. WAMPServer 2.5 The Homepage, Your Projects Menu and the need for Virtual Hosts

---------------------------------------------------------------------------------------------
(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: Localhost projects not working - unable to contact server
Posted by: PaulWolf (94.163.203.---)
Date: October 03, 2014 04:10PM

Hi Riggs,
at the moment I am not able to run VirtualHosts, according to -WAMPServer 2.5 The Homepage, Your Projects Menu and the need for Virtual Hosts- article, but I solved my issue using the "WAMPServer 2.5 release notes and corrections" article, so I can work in the previous old method using localhost instead of Virtual Hosts.
I'll try again with Virtual Host in the next days.

Thanks and best regards

Options: ReplyQuote


Sorry, only registered users may post in this forum.