Author Topic: Localhost problem  (Read 2393 times)

0 Members and 9 Guests are viewing this topic.

Offline Binary Null

  • /dev/null
  • *
  • Posts: 8
  • Cookies: -1
    • View Profile
Localhost problem
« on: October 12, 2012, 05:01:45 pm »
I tested XAMPP and WAMP but on both I can't locate Localhost. Can't run the PHP file. I checked in C:\Windows\System32\drivers\etc\host is there an IP address: 127.0.0.1 and there is many like that. And all of them point ot localhost. Can't solve problem at all. Tried some solutions by checking on google but none work.
<?php
define
("Anonymous",null);
echo 
Anonymous;
?>

Offline Simba

  • Serf
  • *
  • Posts: 47
  • Cookies: 1335
  • programisiai.lt
    • View Profile
    • Programisiai.lt
Re: Localhost problem
« Reply #1 on: October 12, 2012, 08:01:37 pm »
What you mean you can't locate?

Open browser and type 127.0.0.1 or localhost when you have WAMP or XAMPP running without errors...

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: Localhost problem
« Reply #2 on: October 12, 2012, 08:19:02 pm »
Probably another service like skype is already using port 80, kill it.  Tough your signature is just....  nahh lets not ruin the friday-night spirit :D
~Factionwars

Offline Ragehottie

  • Knight
  • **
  • Posts: 313
  • Cookies: -9
  • Hack to learn, not learn to hack.
    • View Profile
Re: Localhost problem
« Reply #3 on: October 12, 2012, 10:08:07 pm »
Not sure what you are trying to say....
Going to leave this here though:
http://evilzone.org/general-discussion/anonymous-6674/
Blog: rexmckinnon.tumblr.com

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: Localhost problem
« Reply #4 on: October 13, 2012, 01:40:12 am »
There is no place like 127.0.0.1


But on the real real yo, maybe use port 8080 instead?
>>>import this
-----------------------------

Offline ande

  • Owner
  • Titan
  • *
  • Posts: 2664
  • Cookies: 256
    • View Profile
Re: Localhost problem
« Reply #5 on: October 13, 2012, 06:47:28 pm »
Like Factionwars said, most likely another service using the port. Tried starting apache manually and see what it says? Or read the error log? Btw, skype is a fuck tard when it comes to this.
if($statement) { unless(!$statement) { // Very sure } }
https://evilzone.org/?hack=true

Offline Binary Null

  • /dev/null
  • *
  • Posts: 8
  • Cookies: -1
    • View Profile
Re: Localhost problem
« Reply #6 on: October 14, 2012, 12:00:29 am »
Probably another service like skype is already using port 80, kill it.  Tough your signature is just....  nahh lets not ruin the friday-night spirit :D
You mady say anything. I don't mind. We all should say what we think.
About the problem. I blocked the port 80. Downloading WAMP atm and will tell what happend.



EDIT: I still have the problem. First blocked and couldn't open at all, no delete that port is closed and tried to run and get something like this:
« Last Edit: October 14, 2012, 12:10:33 am by Binary Null »
<?php
define
("Anonymous",null);
echo 
Anonymous;
?>

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: Localhost problem
« Reply #7 on: October 14, 2012, 06:04:31 pm »
You mady say anything. I don't mind. We all should say what we think.
About the problem. I blocked the port 80. Downloading WAMP atm and will tell what happend.



EDIT: I still have the problem. First blocked and couldn't open at all, no delete that port is closed and tried to run and get something like this:


That means that on the page you are requesting is a microsoft IIS web server running.
~Factionwars

Offline Live Wire

  • Knight
  • **
  • Posts: 189
  • Cookies: 4
  • Up on your Net
    • View Profile
Re: Localhost problem
« Reply #8 on: October 14, 2012, 11:07:43 pm »
Probably a dumb question, but have you tried pinging localhost? If that fails, try using netstat to track down the running port. Btw, what exactly are you trying to do?
"There is no right or wrong, there is only fun and boring."

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: Localhost problem
« Reply #9 on: October 14, 2012, 11:13:08 pm »
Probably a dumb question, but have you tried pinging localhost? If that fails, try using netstat to track down the running port. Btw, what exactly are you trying to do?
I don't think pinging yourself will get you more results ;)
~Factionwars

Offline Live Wire

  • Knight
  • **
  • Posts: 189
  • Cookies: 4
  • Up on your Net
    • View Profile
Re: Localhost problem
« Reply #10 on: October 14, 2012, 11:18:46 pm »
I don't think pinging yourself will get you more results ;)


Ya never know. Sometimes you do dumb shit.  <shrug> Just throwing out an idea.
"There is no right or wrong, there is only fun and boring."

Offline ande

  • Owner
  • Titan
  • *
  • Posts: 2664
  • Cookies: 256
    • View Profile
Re: Localhost problem
« Reply #11 on: October 15, 2012, 12:57:37 am »
You mady say anything. I don't mind. We all should say what we think.
About the problem. I blocked the port 80. Downloading WAMP atm and will tell what happend.



EDIT: I still have the problem. First blocked and couldn't open at all, no delete that port is closed and tried to run and get something like this:


Okay okay okay.. Now first of. You cant block or delete a port or whatever. You can however block packets using the port and so forth, but that would not do anything in this case..

Back to your actual problem: This is a common problem. For whatever reason some programs/updates install IIS for no apparent reason. IIS is microsoft's stupid web server software. Its crap and cant be used for anything. All you need to do is stop the IIS service in services.msc, I have no idea what its name is tho. You might try to just run "net stop WAS" in CMD (quick google search). Once IIS is stopped, apache can start using the port instead.
if($statement) { unless(!$statement) { // Very sure } }
https://evilzone.org/?hack=true

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: Localhost problem
« Reply #12 on: October 15, 2012, 01:32:17 am »
Probably a dumb question, but have you tried pinging localhost? If that fails, try using netstat to track down the running port. Btw, what exactly are you trying to do?


Pinging localhost is all software driven. It doesn't show anything for layer one issues, which this isn't one, just throwing that out there. As long as your NIC is running, whether it is defective or not, you will always get replies with local host.


I know this isn't on topic per-say, I just wanted to throw it out there.
>>>import this
-----------------------------

Offline Binary Null

  • /dev/null
  • *
  • Posts: 8
  • Cookies: -1
    • View Profile
Re: Localhost problem
« Reply #13 on: October 15, 2012, 10:59:56 am »
Hello ande. I looked for service that is runing but can't find that specific one. Isn't there any comon name ?
<?php
define
("Anonymous",null);
echo 
Anonymous;
?>