Loading...

Home > Problem With > Problem With Both Localhost And 127.0.0.1

Problem With Both Localhost And 127.0.0.1

for example, my PHP connect script will NOT work with localhost I'm running Mac OS X Lion, built-in apache2, MySQL, PHP, phpMyAdmin mysqladmin: count 0 debug-check FALSE debug-info TRUE force FALSE Did Buzz Aldrin take communion of bread and wine on his first landing on the moon? share|improve this answer edited Aug 3 '11 at 21:48 answered Jul 28 '11 at 22:43 Raffael Luthiger 1,68111325 1 Wow: "A Unix socket file is used if you don't specify Why is the biography of comedian Andy Kaufman titled "Man on the Moon"? check over here

Not the answer you're looking for? Find Recursively Prime Primes Why do model aircraft fly and maneuver so differently from real aircraft? up vote 1 down vote favorite 1 If I try to access localhost or 127.0.0.1 or even my local IP address 192.168.1.14 the browser is unable to resolve this!? (Why it's How do I resolve this problem. http://forums.devshed.com/windows-help-34/localhost-127-0-0-1-a-744759.html

Moreover, if i map any other name except localhost to 127.0.0.1 it is not working too. –Lanayx Jan 1 '16 at 12:14 have you tried pinging 127.0.0.1 to see Where should the line be drawn regarding political statements in a scientific report? Yes, localhost should be serving files (the default XAMPP welcome message - which I did see from localhost when it was first installed). That being said, +why+ would you run Apache or any other "server" application on a desktop OS like Vista in the first place?

Thanks again 2beers, Mar 27, 2009 IP superjacent Peon Messages: 98 Likes Received: 2 Best Answers: 0 Trophy Points: 0 #15 Slightly off-topic, but don't I feel like a prat. Your hosts file is usually in c:\windows\system32\drivers\etc\hosts, and when you try to edit this file run notepad (or any other preferred editor) as ADMINISTRATOR, otherwise chances are big your modifications wont It's hardly a stable sane platform for doing a website.Click to expand... If it is ON, MySQL will see and connect 'root'@'127.0.0.1' and 'root'@'localhost' as seperate users.

Maybe tried localhost/index.html ? –Darius Feb 7 '14 at 10:44 @Darius: Nothing meaningful is reported by the browser, simply "This webpage is not available" (in Opera, and similar messages Register Lost Password? mysqli.default_socket =/newDBLocation/mysql/mysql.sock Watch out, depending on which driver you use, you may have to specify the pdo_mysql.default_socket=! https://forums.techguy.org/threads/problem-with-both-localhost-and-127-0-0-1.949931/ Stay logged in Digital Point Home Forums > Development > Site & Server Administration > Apache > Log in to view your Analytics, AdSense & PayPal stats Home Forums Search Forums

I found that I had a .netrc in /root/ that had info in it. And eventually clearing the browser cache! Tech Support Guy is completely free -- paid for by advertisers and donations. What conditions would prevent the possibility of human-made satellites orbiting a habitable planet?

Don't forget to restart the MySQL server before you test it. Is it possible to handle Trigger.oldMap in @future method? All rights reserved. But when I enter the client in the browser address http://192.168.61.150 white page is loaded.

When I enter in the browser address is http://127.0.0.1/phpmyadmin to my site loaded correctly. check my blog How to temporarily mark a trail? asked 3 years ago viewed 28032 times active 3 years ago Blog Stack Overflow Podcast #101 - Matt Mullenweg on Open Source, Blogs, and Beyoncé Linked 2 Ping myself, works with Thank you.

share|improve this answer answered Jun 1 '16 at 13:10 jaison 336 add a comment| up vote -1 down vote $ sudo mv /etc/hosts /etc/hosts~old $ sudo cp /etc/hosts~orig /etc/hosts $ ping Are there any situations while backpacking that would require a watch? But still its not working –JOE Dec 3 '13 at 7:27 could you post here what the hosts file contain –Mustafa Adel ELnagar Jun 25 '14 at 22:59 add this content choate83, Jan 17, 2017, in forum: Windows 7 Replies: 3 Views: 169 plodr Jan 18, 2017 Graphic Driver problems al8b8_is, Dec 26, 2016, in forum: Windows 7 Replies: 3 Views: 249

I know Linux and I know linux is much better for web platform but like I sad. Are helicopters aerodynamically stable? Turn it on and test.Click to expand...

is that the case? –dcolumbus Jul 28 '11 at 23:07 ipv6 is enabled for pretty much all modern OS's these days, im on osx10.6 and its enabled by default.

  1. more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science
  2. And appears to correctly ping my local computer (the computer name is reported).
  3. more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info developer jobs directory mobile contact us feedback Technology Life / Arts Culture
  4. For example, I run IIS and can access site using localhost, when I run azure emulator, I can access it using localhost too (tried different ports, but they don't matter).
  5. Here are the results of my research: localhost, COMPUTER_NAME and actual IP address all work fine there is nothing special in my hosts file ping to 127.0.0.1 and tracert do work
  6. And I use VIsta because sometimes I like to play some games.
  7. share|improve this answer answered Sep 4 '14 at 5:08 selbie 39k64693 These solutions have thought me a lot.
  8. Hopefully this helps you out!

Did Buzz Aldrin take communion of bread and wine on his first landing on the moon? Why does a simple pendulum or a spring-mass system show simple harmonic motion only for small amplitudes? Restarted the web server, restarted the browser, and it works!! In my windows hosts file, I have uncommented 127.0.0.1 localhost but the problem still exists.

Here you have the beginning of my /etc/my.cnf file: [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock Your file should be similar. Something similar might work for you on Windows: Even though my /etc/hosts file looked correct, I had a feeling it wasn't working. ("ping localhost" returned no results, but "ping 127.0.0.1" was This will bypass DNS and the hosts file and send the request straight to the proxy. http://stricklandresearch.net/problem-with/problem-with.html This was working OK!

The IPv6 (::1) entry is commented out. 127.0.0.1 localhost ping localhost works! but was the problem? Hack into a Lottery How did the destruction of the Ring cause Arwen to change from Evenstar to Morningstar? php windows apache phpmyadmin wamp share|improve this question edited Dec 3 '13 at 19:03 asked Dec 3 '13 at 7:19 JOE 742412 1 what do you see if you ping

Faq Reply With Quote September 14th, 2010,12:34 PM #5 No Profile Picture skiabox View Profile View Forum Posts  Contributing User Devshed Newbie (0 - 499 posts)    share|improve this answer edited Oct 28 '15 at 6:10 SREE 10711 answered Jun 25 '14 at 22:57 Soufas 516 Thank you for your valuble time. For example: mysql> set password for 'root'@'127.0.0.1' = password('Password'); will update the password for 'root'@'127.0.0.1', but not 'root'@'localhost' or 'root'@'localhost.localdomain' Take a look at the skip_name_resolve variable: mysql> show variables like Browse other questions tagged windows networking ip localhost or ask your own question.

Can I use a slightly bigger or smaller ouput capacitor in an audio amplifier? Browse other questions tagged windows xampp localhost or ask your own question. Join over 733,556 other people just like you! skiabox, Sep 14, 2010 #1 Guldan Joined: Jan 6, 2010 Messages: 128 Interesting, a quick fix would be to edit your hosts file and map it..

It works!!! It's possible that your web browser is resolving localhost on your computer to the IPV6 loopback address, ::1. How do we evaluate a candidate who would not speak to any women during the interview process? Adam TT Faq Reply With Quote September 14th, 2010,09:10 PM #8 No Profile Picture Doug G View Profile View Forum Posts  Grumpier old Moderator Devshed Supreme Being (6500+ posts)

Faq Reply With Quote September 14th, 2010,12:33 PM #4 No Profile Picture skiabox View Profile View Forum Posts  Contributing User Devshed Newbie (0 - 499 posts)    Is there an idiom/phrase which contains the word "head" to mean "thinking hard to solve a problem"?