Why can't I enable the local localhost after I restart apache2.2 and restart the apache2.2 service ???? I installed XAMPP on the local machine and created a new php project. there was no problem a few days ago. no matter whether I use localhost or the local ip address, I can open the webpage quickly, even if an exception occurs occasionally, why can't I restart the local
For example, I have a project folder in the WWW folder called Test i open localhost and then click Test, not jump to localhost/test instead of jumping directly to http://test/is where the configuration out of the problem picture description
Reply content:
For example, I have a project folder in the WWW folder called Test i open localhost and then click Test,
Connection to localhost has been interrupted how to solve Ah, other programs are good, on the Empire backup King This program, an open is the problem (it is also good, do not know why this has happened)
The connection to localhost has been interrupted. Here are some suggestions: please reload this page later. Please check your Internet connection status and restart any routers, modems, and other network
I used to see the http: // localhost in the local test domain name, want to write the line is not good, for example, want to become a http://www.ceo.com, but Web access is still the original http: // localhost content, how can this problem be achieved?
You can modify a local file.
The following path in the System Disk:
C: \ windows \ system32 \ drivers \ etc
Find the "hosts" file, right-click it, and select
ArticleDirectory
Reference
See the following sentence on Sina Weibo:
I believe some people will say it is a local IP address. Some people once said that 127.0.0.1 is better than localhost, and it can reduce resolution once.It seems that there are still some people who are not clear about this entry question. In fact, there is a difference between the two.Localhost is also called local. The correct explanation is: local server127.0.0.1 in wi
First, check that the MySQL service is not started. If it is not started, start the service.
Yesterday, the MySQL 'localhost' (10061) error occurred after the server was restarted. I thought it was because too many database connections were opened and database resources were exhausted. However, after the server was restarted, the problem still occurred, so you can find a solution on the Internet. It is roughly as follows:
Solution:Step 1Delete my. in
Error: 1130-host... is not allowed to connect to this MySql server opens mysql remote connection without using localhost, 1130-hostlocalhost
Error: 1130-host... is not allowed to connect to this MySql server
Solution:
1. Change the table.
It may be that your account is not allowed to log on remotely, but only on localhost. At this time, you only need to log in to mysql on the computer of
Reprinted from: http://www.cnblogs.com/xyzdw/archive/2011/08/11/2135227.htmlWorkaround:1. Change the table method.It may be that your account is not allowed to log on remotely, only on localhost. This time, as long as the computer on the localhost, log in to MySQL, change the "MySQL" Database in the "User" table "host", from "localhost" to "%"Mysql-u root-pvmware
Linux has just installed MySQL, tried to write a program to connect to MySQL, there are only local IP address to connect, and 127.0.0.1 and localhost can not accessSolve this problem main view 3 directions1 does the. hosts have IP mappings 2. Is the user information in the Users table in the MySQL database correctThe direction I resolved,1.hosts viewed the information with mapped 127.0.0.1 and localhost.2.
believe that many webmaster in the station, will be first in the local test, and the test is generally used localhost or 127.0.0.1来 access to the local environment, then the access of the localhost and 127.0.0.1 what is the difference? Which is better?
There are many people think that these two are exactly the same, and some people think that 127.0.0.1 is better because it is a local IP and does not need t
reprint: Java JDBC Connection SQL Server2005 Error: TCP/IP connection to host localhost via port 1433 failedThe reasons for the error are:Exception in thread "main" Org.hibernate.exception.JDBCConnectionException:Cannot open Connectionat Org.hibernate.exception.SQLStateConverter.convert (sqlstateconverter.java:99) at Org.hibernate.exception.JDBCExceptionHelper.convert (jdbcexceptionhelper.java:66) at Org.hibernate.exception.JDBCExceptionHelper.convert
http://361324767.blog.163.com/blog/static/11490252520124454042468/First of all, I want to say a word:I greatly despise the domestic people engaged in it, simply no language, the same is to solve the problem, almost identical, are copied. What's more, the error thrown is: Access denied for user ' root ' @ ' localhost ' to database ' MySQL ', unexpectedly also the other people's solution copied over, but also shameless said: The problem solved, I guess
Label:http://361324767.blog.163.com/blog/static/11490252520124454042468/ First of all, I want to say a word: I greatly despise the domestic people engaged in it, simply no language, the same is to solve the problem, almost identical, are copied. What's more, the error thrown is: Access denied for user ' root ' @ ' localhost ' to database ' MySQL ', unexpectedly also the other people's solution copied over, but also shameless said: The problem solved,
127.0.0.1 and localhost can connect to the MySQL server, but the corresponding IP is not, and error:Can ' t connect to MySQL server on "10.0.73.25" (111)The following may be the cause:1. Network does not pass: Ping 10.0.73.25 found can ping, exclude this reason.2.mysql configuration problem: Open MySQL configuration file mysql.cnf (the path under Linux is generally/etc/mysql/mysql.cnf), see skip-networking and bind_address configuration itemsShip-netw
From: http://www.jb51.net/LINUXjishu/10981.htmlError description: After adding a user in MySQL, you may be prompted with error 1045 (28000): Access denied for user errors. Delete the value NULL in User.user, or update null to test 1) Delete from User where user is null 2) update the user set user= ' test ' where user is NULL. Unexpected situation: If the above method is not effective, there will still be empty users, you can take advantage of the graphical user client delete.After reloading the
Error connecting MySQL: Cdbconnection failed to open the DB connection:sqlstate[28000] [1045] Access denied for user ' root ' @ ' localhost ' (using Password:yes)Note here that the ' root ' @ ' localhost ', when checking the login user and login password without errors, can be viewed in the Mysql.user table, whether there is a root user in the user column, and also pay attention to the host column, note tha
Error: 1130-host allowed to connect to this MySQL server open MySQL remote connection does not use localhostWorkaround:1. Change the table method.It may be that your account is not allowed to log on remotely, only on localhost. This time, as long as the computer on the localhost, log in to MySQL, change the "MySQL" Database in the "User" table "host", from "localhost
When setCookie () is used, the Cookie cannot be saved if the domain name is specified as "localhost". why ?? Found during local testing. In this way, you can set the Cookie: PHPcodesetCookie (name [1], yy1, time () + 3600,); setCookie (name [2], yy2, time () + 3 using setCookie () when the domain name is specified as "localhost", the Cookie cannot be saved. why ??
Found during local testing.
In this way, y
This error occurs because the host name and/etc/hosts file are inconsistent. You only need to write the host name and its IP address to the/etc/hosts file and then OK.
Note that the name cannot contain underscores.
In addition to modifying the network file, run the hostname command to specify the host name, so you do not need to restart the OS.
1. Modify the/etc/sysconfig/network File
[Root @ localhost ~] # Cat/etc/sysconfig/network
NETWORKING = yes
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.