localhost的問題???
我的機器在啟動相應的伺服器後,輸入http://localhost:port/operation,提示資訊如下:
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://localhost/uddi
The following error was encountered:
Unable to determine IP address from host name for localhost
The dnsserver returned:
Name Error: The domain name does not exist.
This means that:
The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct.
但鍵入http://127.0.0.1:port/operation,卻可以開啟指定的頁面!!
我在system32的目錄下查了"Host"檔案如下:
# Copyright (c) 1993-1999 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
127.0.0.1 localhost
請問這種問題怎麼解決???
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://localhost/uddi
The following error was encountered:
Unable to determine IP address from host name for localhost
The dnsserver returned:
Name Error: The domain name does not exist.
This means that:
The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct.
但鍵入http://127.0.0.1:port/operation,卻可以開啟指定的頁面!!
我在system32的目錄下查了"Host"檔案如下:
# Copyright (c) 1993-1999 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
127.0.0.1 localhost
請問這種問題怎麼解決???
相關文章
- Access denied for user ‘root‘@‘localhost‘問題的解決localhost
- 解決mysql"Access denied fot user 'root'@'localhost'"問題MySqllocalhost
- localhost拒絕訪問的解決方法localhost
- 關於解決Server Tomcat v9.0 Server at localhost failed to start的問題ServerTomcatlocalhostAI
- 解決Mysql中只能通過localhost登陸不能通過ip登陸的問題MySqllocalhost
- 網頁訪問Localhost本地埠的趕快升級啦網頁localhost
- MySQL 8.0.13 密碼問題 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)MySql密碼Errorlocalhost
- MySQL問題記錄--Can't connect to MySQL server on localhost (10061)解決方法MySqlServerlocalhost
- webpack簡單搭建localhost訪問靜態資源Weblocalhost
- 解決tomcat伺服器下,只能通過localhost,而不能通過127.0.0.1或者本地ip地址訪問的問題Tomcat伺服器localhost127.0.0.1
- Call From localhost.localdomain/127.0.0.1 to localhost:40984localhostAI127.0.0.1
- [ASP.NET]關於DOT NET的IIS配置LocalHost訪問和127.0.0.1訪問的區別ASP.NETlocalhost127.0.0.1
- localhost與127.0.0.1的區別localhost127.0.0.1
- Vue開發 localhost 替換成 本機ip無法訪問Vuelocalhost
- localhost相容js不能用localhostJS
- 無法訪問此網站 localhost 拒絕了我們的連線請求。網站localhost
- 無法訪問此網站 localhost 拒絕了我們的連線請求。網站localhost
- win10怎麼檢視自己電腦的LOCALHOST win10如何知道自己電腦的LOCALHOSTWin10localhost
- localhost工具:原生程式碼的遠端之路localhost
- Vue——Vue專案本地伺服器設定既能localhost訪問又能手機IP訪問Vue伺服器localhost
- 一個非技術問題的問題
- Spring的問題,還是Tomcat的問題SpringTomcat
- iptables的問題
- sqlldr的問題SQL
- ServerSocket的問題Server
- 問題的核心
- jbuilderx的問題!!!UI
- Bitmap的問題
- CUDA的問題
- 專案中常問的問題
- 【問題解決】單機搭建dataguard的問題
- win10系統Edge無法訪問localhost怎麼解決【圖文】Win10localhost
- Host 'localhost' is not allowed to connect to this MySQL serverlocalhostMySqlServer
- Accessdeniedforuser:'root@localhost'(Usingpassword:YES)localhost
- help:about access http://localhost:8080/HTTPlocalhost
- mac idea中的Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:1099問題MacIdeaAPPServerlocalhost
- 解決Redmine建立&更新問題時很慢的問題
- 解決問題的方法和途徑-問題管理