เจอปัญหาตอนติดตั้ง apache ครับ localhost ใช้งานได้แต่ IP ใช้งานไม่ได้

tags:

มันฟ้องแบบนี้อะครับ

Bad Request Your browser sent a request that this server could not understand.

ไม่รู้จะแก้ยังไง ผมทำมา 2 วันแล้ว T_T

คือ http://localhost ใช้งานได้

แต่ http://1xx.1xx.1xx.1xx และ http://127.0.0.1 มันใช้งานไม่ได้อะครับ

รบกวนด้วยนะครับ

sugree's picture

ลองปิด antivirus

gutsjung's picture

ผมทำ server นี่อะสิคับ

บน Fedora Core 7 T_T

darknet02's picture

ลองไปดู ไฟล์ hosts ที่ C:\WINDOWS\system32\drivers\etc ดูครับ แต่ถ้าเป็น linux ผมจำไม่ได้ละว่ามันอยู่ไหน (และมันก็ไม่ได้ใช้ชื่อนี้ หึหึ) แล้วดูว่ามันมี

127.0.0.1 localhost

หรือป่าว น่าจะประมาณนี้นะครับ

sugree's picture

ลองดูใน /etc/hosts ว่า localhost เป็นอะไร แล้วก็ apache สั่งให้ listen ไว้ที่ไอพีไหนบ้าง

Site Search

 
Web blognone.com

Poll