EvilZone

Programming and Scripting => Web Oriented Coding => : Binary Null October 12, 2012, 05:01:45 PM

: Localhost problem
: Binary Null 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.
: Re: Localhost problem
: Simba 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...
: Re: Localhost problem
: Stackprotector 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
: Re: Localhost problem
: Ragehottie 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/ (http://evilzone.org/general-discussion/anonymous-6674/)
: Re: Localhost problem
: techb 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?
: Re: Localhost problem
: ande 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.
: Re: Localhost problem
: Binary Null 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:
(http://www.dodaj.rs/f/3U/q4/4LzjPNr/2012-10-14001145.jpg)
: Re: Localhost problem
: Stackprotector 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:
(http://www.dodaj.rs/f/3U/q4/4LzjPNr/2012-10-14001145.jpg)

That means that on the page you are requesting is a microsoft IIS web server running.
: Re: Localhost problem
: Live Wire 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?
: Re: Localhost problem
: Stackprotector 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 ;)
: Re: Localhost problem
: Live Wire 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.
: Re: Localhost problem
: ande 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:
(http://www.dodaj.rs/f/3U/q4/4LzjPNr/2012-10-14001145.jpg)

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.
: Re: Localhost problem
: techb 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.
: Re: Localhost problem
: Binary Null 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 ?