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

推荐订阅源

L
LINUX DO - 热门话题
Stack Overflow Blog
Stack Overflow Blog
B
Blog
WordPress大学
WordPress大学
Project Zero
Project Zero
P
Palo Alto Networks Blog
阮一峰的网络日志
阮一峰的网络日志
博客园 - 司徒正美
有赞技术团队
有赞技术团队
S
SegmentFault 最新的问题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
小众软件
小众软件
T
Tailwind CSS Blog
Forbes - Security
Forbes - Security
F
Full Disclosure
SecWiki News
SecWiki News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Hacker News: Ask HN
Hacker News: Ask HN
C
Check Point Blog
Microsoft Security Blog
Microsoft Security Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
F
Fortinet All Blogs
Cisco Talos Blog
Cisco Talos Blog
G
Google Developers Blog
J
Java Code Geeks
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Recorded Future
Recorded Future
O
OpenAI News
Spread Privacy
Spread Privacy
MongoDB | Blog
MongoDB | Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
C
Cybersecurity and Infrastructure Security Agency CISA
S
Securelist
V
Vulnerabilities – Threatpost
Y
Y Combinator Blog
IT之家
IT之家
U
Unit 42
腾讯CDC
S
Security Affairs
C
Cisco Blogs
Schneier on Security
Schneier on Security
The Last Watchdog
The Last Watchdog
B
Blog RSS Feed
宝玉的分享
宝玉的分享
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Security @ Cisco Blogs
Cyberwarzone
Cyberwarzone
T
The Blog of Author Tim Ferriss

博客园 - 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调试,问题解决!

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