Apache Environment
localhost:82
Problem:
Browser input localhost:82, no response (all normal yesterday), but 127.0.0.1:82 can access
Case
1. The error log is as follows
Apache Error.log
httpd.conf Red Pen is the place I have changed
The Hosts file is as follows
# Copyright (c) 1993-2009 Microsoft Corp.## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.## This file contains the mappings of IP addresses to host names. Each# entry should be kept on an individual line. The IP address should# be placed in the first column followed by the corresponding host name.# The IP address and the host name should be separated by at least one# space.## Additionally, comments (such as these) may be inserted on individual# lines or following the machine name denoted by a '#' symbol.## For example:## 102.54.94.97 rhino.acme.com # source server# 38.25.63.10 x.acme.com # x client host# localhost name resolution is handled within DNS itself.# 127.0.0.1 localhost# ::1 localhost127.0.0.1 localhostlocalhost 127.0.0.1#0.0.0.1 mssplus.mcafee.com0.0.0.1 mssplus.mcafee.com
Reply content:
Apache Environment
localhost:82
Problem:
Browser input localhost:82, no response (all normal yesterday), but 127.0.0.1:82 can access
Case
1. The error log is as follows
Apache Error.log
httpd.conf Red Pen is the place I have changed
The Hosts file is as follows
# Copyright (c) 1993-2009 Microsoft Corp.## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.## This file contains the mappings of IP addresses to host names. Each# entry should be kept on an individual line. The IP address should# be placed in the first column followed by the corresponding host name.# The IP address and the host name should be separated by at least one# space.## Additionally, comments (such as these) may be inserted on individual# lines or following the machine name denoted by a '#' symbol.## For example:## 102.54.94.97 rhino.acme.com # source server# 38.25.63.10 x.acme.com # x client host# localhost name resolution is handled within DNS itself.# 127.0.0.1 localhost# ::1 localhost127.0.0.1 localhostlocalhost 127.0.0.1#0.0.0.1 mssplus.mcafee.com0.0.0.1 mssplus.mcafee.com
1: Check the port is not the normal listening status. is not an Apache environmental issue.
2: See if Phpinfo () can perform. See if PHP is performing environmental issues.
3: See if the code has a dead loop or bug. Display_error Open the look.
4: Landlord, at least put a code or page what ah. This position problem catch the blind state ah. 囧
At the end of the httpd.conf file, add
Acceptfilter http None
Acceptfilter HTTPS None
And then reboot to see
On-line Baidu came out of the results do not know not allowed
Http://www.oschina.NET/questi ...
Http://httpd.apache.org/docs/....
The servername binding failed from the error log, so httpd has not started correctly
Based on the error message Google, find this, first try it
Http://www.t086.com/code/apac ...
If you still have a problem, try modifying servername?
1. Post your hosts file.
2. Try visiting 127.0.0.1:82
Thank you for your enthusiastic help, I uninstalled the reload of a, can run the