Google 網路論壇不再支援新的 Usenet 貼文或訂閱項目,但過往內容仍可供查看。

http://localhost

瀏覽次數:44 次
跳到第一則未讀訊息

Kurt

未讀,
2005年12月15日 晚上7:00:552005/12/15
收件者:
Hello!
I have installed XAMPP to learn PHP. But the first problem my apache doen't
answer at http://localhost it is only working at http://127.0.0.1
How can I fix that.
Thanks
Kurt

Kees Nuyt

未讀,
2005年12月16日 下午5:12:232005/12/16
收件者:

Assuming you are using Windows XP, add the line:
127.0.0.1 localhost
to the file: C:\WINDOWS\SYSTEM32\DRIVERS\etc\hosts

>Thanks
>Kurt

I hope this helps.
--
( Kees
)
c[_] A positive attitude may not solve all your problems, but it
will annoy enough people to make it worth the effort. Herm
Albright (1876 - 1944) (#177)

Kurt

未讀,
2005年12月19日 下午4:23:112005/12/19
收件者:
Thanks for Your help.

> Assuming you are using Windows XP, add the line:
> 127.0.0.1 localhost
> to the file: C:\WINDOWS\SYSTEM32\DRIVERS\etc\hosts

I looked at my hosts file and found that information. But then I recognized,
I put off the network cable. My NIC had no IP-Adress. When I connected it
again, everything was working. But why dose the NIC loose the IP-Adress wenn
the cable ist put off. I thougt I could learn PHP unconnected.

Kurt

Phil Frisbie, Jr.

未讀,
2005年12月19日 下午4:51:082005/12/19
收件者:
Kurt wrote:

This is a Microsoft "improvement" that happens to violate the TCP/IP protocol.
It is formally called "media sense", and it can be disabled by a registry entry.

This has been covered many times here and in other news groups, so search for
the fix. It is easy to find.


--
Phil Frisbie, Jr.
Hawk Software
http://www.hawksoft.com

indiaan

未讀,
2005年12月23日 清晨6:41:182005/12/23
收件者:
About the same problem. Installed Apache carefully, but no answer at
http://localhost nor http://127.0.0.1. And I'm using windows ME.
Earlier I used phpdev, but after moving to broadband this only worked
after setting of the modem.
Thanks for any help,
Jan

elgozoulimo...@gmail.com

未讀,
2016年2月6日 下午1:56:002016/2/6
收件者:
Hi
The last attempt I did is I disabled my Mcafee antivirus went thru the steps of XAMPP, and when I tried to activate Apache I got
Error: Apache shut down unexpectedly. This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method Press the Logs button to view error logs and check the Windows Event Viewer for more clues If you need more help, copy and post this entire log window on the forums
Opened the httpdconfg file and changed the listen port number, and again Apache did not run. I watched many videos on Youtube, and I thing I failed to comprehend what changes were made through the command prompt. I will do my best in the next attempts to know the cmd prompt steps, In you tube videos they are not explained properly.Now I am making an improvement since mySQL,Tomcat,FilZilla, and Mercury are all running fine. My next challenge is to configure Apache and PHP which is not showing in XAMPP control panel
0 則新訊息