为什么tcp服务器在接受连接后立即发送fin和ack [英] Why will a tcp server send a fin and ack immediately after accepting a connection
问题描述
为什么TCP服务器会在接受连接后立即发送FIN和ACK:
Why will a TCP Server send a FIN and ACK immediately after accepting a connection:
Client->Server: SYN
Server->Client:SYN,ACK
Client->Server:ACK
Server->Client: FIN,ACK
运行tracert 127.0.0.1:
run "tracert 127.0.0.1":
Through up to 30 jump points tracking
Route to [127.0.0.1] AM-201501021331:
1 <1 MS <1 MS <1 MS AM-201501021331 [no resources]
Track completion.
为什么结果是没有资源;
我尝试过:
运行tracert 127.0.0.1,结果是没有资源
why result is "no resources";
What I have tried:
run "tracert 127.0.0.1", result is "no resources"
推荐答案
[no resources]显示而不是IP地址[127.0.0.1]。虽然跟踪本身是成功的,但它表明存在某种问题。
您可以执行
"[no resources]" is displayed instead of the IP address "[127.0.0.1]". While the tracing itself was succesful it indicates some kind of problem.
You may execute
nslookup 127.0.0.1
进一步调查并重复使用名称 localhost 和 AM-201501021331 (您的计算机名称) 。
可能的原因是没有DNS服务器配置/可用,甚至没有网络连接。
至少您可以执行tracert并选择禁用反向名称查找:
for further investigation and repeat that with the names localhost and AM-201501021331 (your computer's name).
Possible reasons are no DNS server configured / available or even no network connection.
At least you can execute tracert with an option to disable reverse name lookup:
tracert -d 127.0.0.1
nslookup 127.0.0.1
Server: UnKnown
Address: 10.1.33.7
name: localhost
Address: 127.0.0.1
运行tracert -d 127.0.0.1,结果也是无资源;
run "tracert -d 127.0.0.1", result is "no resources" too;
这篇关于为什么tcp服务器在接受连接后立即发送fin和ack的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!