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
- 解決SpringBoot頁面localhost 404問題,即Whitelabel Error Page問題Spring BootlocalhostError
- localhost拒絕訪問的解決方法localhost
- 關於解決Server Tomcat v9.0 Server at localhost failed to start的問題ServerTomcatlocalhostAI
- MySQL 8.0.13 密碼問題 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)MySql密碼Errorlocalhost
- 網頁訪問Localhost本地埠的趕快升級啦網頁localhost
- Navicat 連線 MySQL 失敗:2002-can‘t connect to server on localhost(10061)問題解決MySqlServerlocalhost
- webpack簡單搭建localhost訪問靜態資源Weblocalhost
- [ASP.NET]關於DOT NET的IIS配置LocalHost訪問和127.0.0.1訪問的區別ASP.NETlocalhost127.0.0.1
- SSM+Swagger問題解決 Can‘t read swagger JSON from http://localhost:8080/xxx/swagger/api-docsSSMSwaggerJSONHTTPlocalhostAPI
- Vue開發 localhost 替換成 本機ip無法訪問Vuelocalhost
- 無法訪問此網站 localhost 拒絕了我們的連線請求。網站localhost
- 無法訪問此網站 localhost 拒絕了我們的連線請求。網站localhost
- curl -fs http://localhost:8000/HTTPlocalhost
- 127.0.0.0和localhost區別localhost
- win10怎麼檢視自己電腦的LOCALHOST win10如何知道自己電腦的LOCALHOSTWin10localhost
- localhost工具:原生程式碼的遠端之路localhost
- Vue——Vue專案本地伺服器設定既能localhost訪問又能手機IP訪問Vue伺服器localhost
- Host 'localhost' is not allowed to connect to this MySQL serverlocalhostMySqlServer
- React native 白屏 loading from localhostReact Nativelocalhost
- CUDA的問題
- iptables的問題
- slice 的問題
- nohup的問題
- 稅的問題
- 解決Windows 2012 Server的localhost解析為::1WindowsServerlocalhost
- 專案中常問的問題
- 遇到的編碼問題、時區問題整理
- MySQL使用普通使用者訪問返回ERROR 1698 (28000): Access denied for user 'root'@'localhost'MySqlErrorlocalhost
- 《扶蘇的問題》題解
- Troubleshooting 專題 - 問正確的問題 得到正確的答案
- 揹包問題的一道經典問題
- 請教個問題執行 httprunner 遇到的問題HTTP
- Ansible: No inventory was passed, only implicit localhost is availablelocalhostAI
- localhost 重定向次數過多localhost
- 請問一個 authorize的問題
- Vue與ASP.NET Core Web Api設定localhost與本地ip地址皆可訪問VueASP.NETWebAPIlocalhost
- JackJson遇到的問題JSON
- mysql 遇到的問題MySql