问题描述
- 自己写服务器 浏览器解析问题
-
只有chrome浏览器显示了网页 Firefox IE都一直显示连接中 打不开网页 服务器都显示发送了网页过去用tcpdump抓取了连接信息
IP 192.168.61.133.49365 > 192.168.61.132.200: Flags [F.], seq 2046974185, ack 189753522, win 473, options [nop,nop,TS val 27172864 ecr 475458], length 0
IP 192.168.61.132.200 > 192.168.61.133.49365: Flags [R.], seq 1, ack 1, win 470, options [nop,nop,TS val 591186 ecr 27172864], length 0
IP 192.168.61.133.49379 > 192.168.61.132.200: Flags [S], seq 2900052443, win 29200, options [mss 1460,sackOK,TS val 27172910 ecr 0,nop,wscale 6], length 0
IP 192.168.61.132.200 > 192.168.61.133.49379: Flags [S.], seq 3435707929, ack 2900052444, win 28960, options [mss 1460,sackOK,TS val 591233 ecr 27172910,nop,wscale 6], length 0
IP 192.168.61.133.49379 > 192.168.61.132.200: Flags [.], ack 1, win 457, options [nop,nop,TS val 27172911 ecr 591233], length 0
IP 192.168.61.133.49379 > 192.168.61.132.200: Flags [P.], seq 1:305, ack 1, win 457, options [nop,nop,TS val 27172912 ecr 591233], length 304
IP 192.168.61.132.200 > 192.168.61.133.49379: Flags [.], ack 305, win 470, options [nop,nop,TS val 591235 ecr 27172912], length 0
IP 192.168.61.132.200 > 192.168.61.133.49379: Flags [P.], seq 1:265, ack 305, win 470, options [nop,nop,TS val 591235 ecr 27172912], length 264
IP 192.168.61.133.49379 > 192.168.61.132.200: Flags [.], ack 265, win 473, options [nop,nop,TS val 27172912 ecr 591235], length 0发送的信息格式如下
HTTP?1.1, 200 OK
Content-Length: 264演示
第一个演示程序
这是在浏览器中看到的内容
解决方案
页面返回的数据格式是否不兼容firefox,IE浏览器
解决方案二:
解决win7浏览器不能解析域名的问题