Fine access using 127.0.0.1 but not external IP
Posted by: Piet (---.adsl.xs4all.nl)
Date: March 11, 2007 09:12PM

Wamp5
PHP5.1
Apache 1.3
MySQL 4.1

Hello all,

I installed Wamp5 on my pc in a home network. All services run fine. When typing 127.0.0.1 in the browser (IE), it shows the familiar Wamp-screen. But when typing my external IP (80.126.etc...) in the browser, it comes up with a message box asking for a username and password. I tried all options like "root" and "root@localhost" plus the password I created for the root admin, but it keeps ending with a "401 Unauthorised" error message instead of the Wamp-screen.

I disabled both firewalls on my pc. In the internet router in our home network I opened port 80. I also added a new user with only a few privileges, using PHPMyAdmin and tried to login with that account. But no luck.

What am I doing wrong?

Any help would be appreciated!

Thanks in advance!

Options: ReplyQuote
Re: Fine access using 127.0.0.1 but not external IP
Posted by: CyberSpatium (71.237.217.---)
Date: March 13, 2007 08:55PM

you will need put put your server in online mode.

right click on the wamp tray icon menu -> put online




CyberSpatium
----------------------
WAMP English Forum Admin


Please visit my latest website Clarify Loans:
ClarifyLoans.com

Options: ReplyQuote
Re: Fine access using 127.0.0.1 but not external IP
Posted by: Piet (---.adsl.xs4all.nl)
Date: April 11, 2007 09:52AM

Thanks for this.
I wasn't able to solver the problem. So I decided to upgrade to the latest Wamp version. Now at least I can see the " Put online" option, which is quite handy I must say. Thanks for the hint!
I finally found out that the password I was asked for, appeared to be my router's password. I can't connect to my website by using the domainname or external IP-address for my router prevents me from doing this for safety reasons :-((

[Edit]
I moved the part that used to be here to a new topic.
[/Edit]



Post Edited (04-11-07 12:17)

Options: ReplyQuote
Re: Fine access using 127.0.0.1 but not external IP
Posted by: CyberSpatium (71.237.217.---)
Date: April 11, 2007 12:25PM

you will need to enable port forwarding for your router. if you do not know how to do that, use these two links for more info:

[portforward.com]
[en.wikipedia.org]


CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!

Please visit my latest website Clarify Loans:
clarifyloans.com


Like my free support? Help support me by making a donation today!

Options: ReplyQuote
Re: Fine access using 127.0.0.1 but not external IP
Posted by: yfastud (72.236.169.---)
Date: April 11, 2007 02:32PM

portforward.com is a good site, but you'd better do it manually. Check this threat, in which I've helped a wamp user to solve the problem after he used portforward.com

[forum.wampserver.com]

Have fun,

[www.jlbn.net] (testing WAMPS)
[test.jlbn.net] (testing codes)

Options: ReplyQuote
Re: Fine access using 127.0.0.1 but not external IP
Posted by: Piet (---.adsl.xs4all.nl)
Date: April 19, 2007 11:39PM

Hi guys,

Just for the record:

Adding a line with the webserver's IP address and domainname to the hosts file in Windows solved my problem of not being able to reach the website from within the LAN by using the external IP address.

Some routers really need this setting, because they lack a "loopback" feature like my Etech router.

Thanks for the help though:-)



Post Edited (04-19-07 23:48)

Options: ReplyQuote
Re: Fine access using 127.0.0.1 but not external IP
Posted by: CyberSpatium (71.237.217.---)
Date: April 20, 2007 02:33AM

just remember any changes you make in your host file will only be accessible by you, no one else


CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!

Please visit my latest website Clarify Loans:
clarifyloans.com

Options: ReplyQuote


Sorry, only registered users may post in this forum.