Avatar of AXISHK
AXISHK
 asked on

show localhost on remote workstation for WAMP server

Hi,

I have installed the WAMP server. For those remote workstation access the server, it returns with "localhost". It works fine before. Any idea ? Is there anything need to configure on WAMP server.

Tks
Screen1.png
Screen2.png
Apache Web ServerMySQL Server

Avatar of undefined
Last Comment
AXISHK

8/22/2022 - Mon
Mandeep Singh

If you are using IIS and Wamp server on same machine. then you have to change port of wamp server from port 80 to 8080, as IIS also using port 80.

To change port from 80 to 8080 follow below tutorial.

http://hightechnology.in/wamp-server-could-not-execute-menu-item-internal-error-exception-could-not-perform-service-action-the-service-has-not-been-started/
Dave Baldwin

'localhost' is always and Only on the machine you are on.  If you want to access another machine, you need either an IP address or a machine name or a domain name.  You can Never access 'localhost' on another machine from your machine.
AXISHK

ASKER
IIS has stopped on the server where WAMP is installed. On the browser of remote client, I have typed my internal IP address 10.0.20.10 but it always return localhost...

Any further advice ? Tks
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Mandeep Singh

Hi,

is 10.0.20.10 is IP address of your remote system.
Dave Baldwin

If 10.0.20.10 is the machine you are on and that WAMP is installed on, then you are probably getting redirected by the WAMP home page.  It has become a common practice to only allow 'localhost' access to admin pages like phpMyAdmin.  That prevents people from accessing them from other computers.  It's done to provide better security.
AXISHK

ASKER
Where can I modify to release this restriction, ?

Tks
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
AXISHK

ASKER
Yes, 10.0.20.10 is my local laptop where WAMP server and php  is installed. Access from a remote machine with http://10.0.20.10/Magento. Afterwards, it return with localhost/magento. And that's why the remote machine can't access it.

Tks
ASKER CERTIFIED SOLUTION
Dave Baldwin

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
AXISHK

ASKER
Tks