Cause Analysis of Intranet server access failures over the Internet (Internet is acceptable)

Source: Internet
Author: User

The environment is as follows:

Internet IP Address: 218.94.2.20.

Lan: host a 192.168.1.100 host B 192.168.1.101
Machine A acts as a server and provides a Web service through port 88. Port 88 is also configured on the router to map to machine.

Server B serves as a general Intranet client.

 

Now:

The browser on B accesses the Web Service 222.188.91.252: 88 on a through the Internet IP address. The router forwards the IP address to server a through port ing. At this time, the IP address received by server a is 192.168.1.101, the protocol they use is TCP. TCP requires three handshakes to establish a connection. At this time, server a receives a connection request and replies to a response packet. The destination IP address is 192.168.1.101 and the source IP address is 192.168.1.100, because both IP addresses are in the LAN, routers directly forward the IP addresses without being encapsulated.

Therefore, the source IP address of the response packet received by server B is different from the destination IP address of the Request Packet sent by server B, so the packet is discarded.

Server A has been waiting for server B to respond again, but server B has discarded the package, so it cannot wait until the connection fails.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.