How to change the ip adress on a wamp installation from 127.0.0.1 to something like 156.789.1.0
Posted by: eyekay234 (---.128.2.21.multilinks.com)
Date: July 30, 2012 04:13PM

I have a software i have been trying to test out. an open source application that refuses to install on a local server. i've been told to change the ip address of the server from 127.0.0.1 to something else and i cant get how to do so.

i run wamp on a windows 7 laptop.

How do i go about altering the ip address to show something else

Thanks

Options: ReplyQuote
Re: How to change the ip adress on a wamp installation from 127.0.0.1 to something like 156.789.1.0
Posted by: jclint (---.midsouth.biz.rr.com)
Date: July 30, 2012 04:32PM

well. the IP address 127.0.0.1 is a builtin address to access the local computer only, so 127.0.0.1 would only work on that laptop itself.

the next step would be getting it to answer on the laptops current actual ip address. click start, type "cmd" and hit enter. that will bring up a command prompt. type "ipconfig" and hit enter. it will show you the laptops current ip address accessible on your internal network. it will show something like this:

IPv4 Address. . . . . . . . . . . : 192.168.1.69


that will give you the ip you need to access the laptop from any computer on your internal network at home/work

by default i believe WAMP should let you access the website using that address without any further configuration.

Options: ReplyQuote
Re: How to change the ip adress on a wamp installation from 127.0.0.1 to something like 156.789.1.0
Posted by: mOrloff (---.or.wavecable.com)
Date: July 30, 2012 11:57PM

And IF you happen to be using aliases (\wamp\alias) for your project, that's another access control point.

Options: ReplyQuote
Re: How to change the ip adress on a wamp installation from 127.0.0.1 to something like 156.789.1.0
Posted by: stevenmartin99 (Moderator)
Date: July 30, 2012 11:58PM

no wamp blocks it.

left click wamp > put online

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: How to change the ip adress on a wamp installation from 127.0.0.1 to something like 156.789.1.0
Posted by: mOrloff (---.or.wavecable.com)
Date: July 31, 2012 12:15AM

Am I understanding correctly that you are saying that WAMP blocks alias control to something like [192.168.0.72] ??

I could have SWORN I used aliases to grant/deny access from specific machines machines on the LAN.

Options: ReplyQuote
Re: How to change the ip adress on a wamp installation from 127.0.0.1 to something like 156.789.1.0
Posted by: eyekay234 (---.rdns.blackberry.net)
Date: July 31, 2012 12:17AM

Hello, think I'm now able to explain better. What I want is a way to change the loopback address from 127.0.0.1 to something else as the application was desgined to work on a website online and tied to the domain name. All I'm trying to dois create the same ip address of the website on the wamp server installation on my laptop.

The reason being the application refuses to install when it sees the ip address 127.0.0.1

Options: ReplyQuote
Re: How to change the ip adress on a wamp installation from 127.0.0.1 to something like 156.789.1.0
Posted by: stevenmartin99 (Moderator)
Date: July 31, 2012 12:18AM

yes in the alias folder, you can edit the permissions


for example altho phpmyadmin is an alias, it it blocked on lan..

if you open

c:\wamp\alias\phpmyadmin.conf you can edit this (documented in the file)

to allow access online , or even just on the lan

maybe use

allow from 192

or

allow from 10

depending on your network setup

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: How to change the ip adress on a wamp installation from 127.0.0.1 to something like 156.789.1.0
Posted by: stevenmartin99 (Moderator)
Date: July 31, 2012 12:33AM

you cant really change it. nor do you need to.

just set up a word such as localhost..


there is never a reason to need another ip

if you still think you do , your doing it wrong smiling smiley

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: How to change the ip adress on a wamp installation from 127.0.0.1 to something like 156.789.1.0
Posted by: RiggsFolly (---.as13285.net)
Date: July 31, 2012 04:23PM

I think what Steve is saying here is that what your install is getting upset about is probably the domain name and not that it is on 127.0.0.1

Fiddler has done this to me in the past but is fine if you invent a name that is not localhost.

Try adding a line to your hosts file like

127.0.0.1 www.real-lookin-domain-name.com

And then try your install again after a
>net stop "DNS Client"
>net start "DNS Client"

or simply reboot.

Options: ReplyQuote
Re: How to change the ip adress on a wamp installation from 127.0.0.1 to something like 156.789.1.0
Posted by: pradeepceb (123.63.170.---)
Date: May 12, 2015 08:49AM

Go to D:\..\wamp\bin\apache\apache2.4.2\conf\httpd.conf and open it in text editor then change

Listen 127.11.11.11:80 to your ip address and port

Options: ReplyQuote
Re: How to change the ip adress on a wamp installation from 127.0.0.1 to something like 156.789.1.0
Posted by: Otomatic (Moderator)
Date: May 12, 2015 10:25AM

Hi,

@pradeepceb Better late than never!

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.