通过使用本地 IP 地址,我的 ASP.NET 网站和 SQL Server 运行良好,192.168.1.123
但昨天我安装了 VPN 客户端,之后我无法使用192.168.1.123
该 IP 浏览我的网站并连接我的 SQL 数据库。我的 IP 仍然通过 ipconfig 检查。
Ipconfig 输出,
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\aa>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection* 16:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Wireless Network Connection 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::f071:e6f2:13a1:151%12
IPv4 Address. . . . . . . . . . . : 192.168.1.123
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{635F5060-B721-4F84-8610-DA10C2A93210}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter Local Area Connection* 14:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter Reusable ISATAP Interface {468E327D-B0E3-4119-B115-1035F41B6BAE}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{8BBEAD36-4CE6-4311-88AB-1B04C099810B}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter Local Area Connection* 13:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fb:2c8a:384a:3f57:fe88
Link-local IPv6 Address . . . . . : fe80::2c8a:384a:3f57:fe88%24
Default Gateway . . . . . . . . . : ::
Tunnel adapter isatap.{C28FCB0D-EA0A-4B10-B3A1-686F734CFAAD}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{0100A585-8C83-4961-8230-0846C9214D4C}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{02AF8393-241F-4B4B-85B1-BCA2F139F4B5}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
答案1
您应该使用例如来检查您的路由表netstat -nr
。
我不确定你的 VPN 客户端会如何处理本地和远程网络地址之间的冲突/重叠,但这可能是你应该排除的可能性