无效主机名上的错误请求 [英] Bad request on invalid hostname

查看:159
本文介绍了无效主机名上的错误请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在我的浏览器上写http; // localhost时......它出现了对无效主机名的错误请求...只是这4个字......我不知道wath是错误..


所以我把mysqladmin -h''localhost''版本写入我的cmm提示符


它说错误未知的mysql服务器主机''localhost< 11004> ;

通过telnet''localhost''3306检查mysqld是否在端口上运行..


怎么做... ???

when i write http;//localhost on my browser.. it come out bad request on invalid hostname... just these 4 words... i have no idea of wath is the error..

so i write mysqladmin -h ''localhost'' version into my cmm prompt

it said error "unknown mysql server host'' localhost <11004>
check mysqld is running on the port by doing telnet'' localhost'' 3306..

how to do that...???

推荐答案


当我在我的浏览器上写http:// localhost时...它在无效主机名上发出错误请求。 ..只是这4个字......我不知道wath是错误..


所以我写了mysqladmin -h''localhost''版本到我的cmm提示符中


它说错误未知的mysql服务器主机''localhost< 11004>

通过telnet''localhost''检查mysqld是否正在端口上运行3 306 ..


怎么办...... ???
when i write http;//localhost on my browser.. it come out bad request on invalid hostname... just these 4 words... i have no idea of wath is the error..

so i write mysqladmin -h ''localhost'' version into my cmm prompt

it said error "unknown mysql server host'' localhost <11004>
check mysqld is running on the port by doing telnet'' localhost'' 3306..

how to do that...???



尝试http:// localhost而不是http; // localhost

try http://localhost instead of http;//localhost



尝试 http:// localhost 而不是http; // localhost
try http://localhost instead of http;//localhost



对不起...哈哈..错误..那应该是 http:// localhost ..但为什么它仍然不能..我可以卸载mysql 4.1 ...而留下其余的ODBC和mysq-gui5.0 .. ??重新安装mysql 4.1后,它们仍能运行吗?服务器在其数据库中有数据..我认为这里的一个混蛋改变了我的服务器IP地址..


sorry ...hahaa.. mistake.. that should be http://localhost.. but why it still cannot.. can i just uninstall the mysql 4.1... while leave the rest ODBC and mysq-gui5.0.. ?? can they still functioning after i reinstall mysql 4.1?? the server has data in its database.. i think one of the bastard here has changed my server IP address..



抱歉.. .hahaa ..错误..应该是 http:// localhost ..但为什么它仍然不能..我可以只卸载mysql 4.1 ...而留下其余的ODBC和mysq-gui5.0 .. ??重新安装mysql 4.1后,它们仍能运行吗?服务器在其数据库中有数据..我认为这里的一个混蛋改变了我的服务器IP地址..
sorry ...hahaa.. mistake.. that should be http://localhost.. but why it still cannot.. can i just uninstall the mysql 4.1... while leave the rest ODBC and mysq-gui5.0.. ?? can they still functioning after i reinstall mysql 4.1?? the server has data in its database.. i think one of the bastard here has changed my server IP address..



卸载应该是最后一个选项。您是否尝试使用端口号替换了portNo的http:// localhost:portNo,

Uninstall should really be the last option. Did you try http://localhost:portNo,
with portNo replaced by your port number?


这篇关于无效主机名上的错误请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆