Linux访问网站一直出现超时

问题描述:

开发java应用时,需要访问此网站,在windows上一切正常访问,部署到linux服务器上就出现了访问超时

[root@VM_18_115_centos ~]# wget 'https://wap.zhengzhoubus.com/buswechat/WifiBusInterface/transfer/line!getLineAll.action'
--2018-10-26 21:16:22--  https://wap.zhengzhoubus.com/buswechat/WifiBusInterface/transfer/line!getLineAll.action
Resolving wap.zhengzhoubus.com (wap.zhengzhoubus.com)... 117.158.218.230
Connecting to wap.zhengzhoubus.com (wap.zhengzhoubus.com)|117.158.218.230|:443... ^C
[root@VM_18_115_centos ~]# ping https://wap.zhengzhoubus.com
ping: unknown host https://wap.zhengzhoubus.com

本以为是https访问不了的原因 却可以访问百度的https

[root@VM_18_115_centos ~]# wget https://www.baidu.com
--2018-10-26 21:20:26--  https://www.baidu.com/
Resolving www.baidu.com (www.baidu.com)... 220.181.112.244, 220.181.111.188
Connecting to www.baidu.com (www.baidu.com)|220.181.112.244|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2443 (2.4K) [text/html]
Saving to: ‘index.html’

100%[===========================================================================================>] 2,443       --.-K/s   in 0s      

2018-10-26 21:20:27 (334 MB/s) - ‘index.html’ saved [2443/2443]

[root@VM_18_115_centos ~]# 
阅读 3.5k
1 个回答

你是联通或者移动的运营商吧?联通和移动的运营商就有这个问题,会屏蔽https

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题