惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
Schneier on Security
Schneier on Security
B
Blog RSS Feed
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
A
About on SuperTechFans
Recorded Future
Recorded Future
Recent Announcements
Recent Announcements
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
Hugging Face - Blog
Hugging Face - Blog
The GitHub Blog
The GitHub Blog
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MyScale Blog
MyScale Blog
V2EX - 技术
V2EX - 技术
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
V
Visual Studio Blog
Martin Fowler
Martin Fowler
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
The Exploit Database - CXSecurity.com
F
Full Disclosure
Scott Helme
Scott Helme
H
Heimdal Security Blog
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
Cyberwarzone
Cyberwarzone
Application and Cybersecurity Blog
Application and Cybersecurity Blog
V
Vulnerabilities – Threatpost
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
WordPress大学
WordPress大学
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Troy Hunt's Blog
S
SegmentFault 最新的问题
Forbes - Security
Forbes - Security
Jina AI
Jina AI
S
Securelist
小众软件
小众软件
Simon Willison's Weblog
Simon Willison's Weblog
J
Java Code Geeks
AWS News Blog
AWS News Blog
N
News and Events Feed by Topic
博客园 - 三生石上(FineUI控件)
量子位

博客园 - Danys

Ubuntu10.10 安装 Discuz 在Windows 7 的Windows Virtual PC上装 Ubuntu 10.10 使用Carbide.c++搭建S60开发环境 手机开发入门系列 主流智能手机操作系统知多少 VB.NET 转换为 C# 验证时间的正则表达式 ASP.NET 开源 Blog 收集 Vista SP1下,IE8,使用支付宝 C# 写文本文件 C#读取文本文件 【翻译】Technical Overview of DirectAccess in Windows 7 and Windows Server 2008 R2 Silverlight 2 相关资源下载地址 C#读取Excel方法总结 11款完全免费的Web设计工具 Elcomsoft宣称WPA/WPA2无线加密破解速度提高100倍 Microsoft Silverlight 2 正式版本发布 NET 4.0将包含并行扩展 13个大文件邮件传送服务
Vista SP1、VS2008 SP1环境中 localhost无法访问
Danys · 2009-03-31 · via 博客园 - Danys

描述如下:
A、联网情况下
在VS中按F5运行Web调试,出错提示为:“

Internet Explorer 无法显示该页面

”此时IE8的地址栏中为“http://localhost:6999/Web/”
将localhost改为“127.0.0.1”竟然可以!⊙﹏⊙b汗!
B、断开网线,直接调试运行。无任何问题,(#‵′)靠!;此时IE8标题栏还是”http://localhost:6999/Web/“
在没升级为IE8之前,我是IE7也出现过类似的问题,但是没注意,不知道这个Vista的问题呢,还是VS2008的问题,希望知道的同志能分析下,或者给个修复的办法!

==========================================================================

问题解决了,竟然真的是host的问题
解决问题的思路:
不管如何现在host的可疑最大
在cmd中输入 C:\WINDOWS\system32\drivers\etc\hosts
发现host文件如下显示
# Copyright (c) 1993-2006 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
::1             localhost
⊙﹏⊙b汗啊!
没有 127.0.0.1 啊。~
于是在做了如下修改
127.0.0.1       localhost
::1             localhost
再次运行VS调试,问题解决!

思考,在断开网络的情况下为什么能正确映射呢?