RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:8:30-17:00
你可能遇到了下面的问题
关闭右侧工具栏

新闻中心

这里有您想知道的互联网营销解决方案
javahttpsserver访问慢问题-创新互联
https server访问满问题javahttpsserver访
问慢问题

查看线程

成都创新互联公司为企业级客户提高一站式互联网+设计服务,主要包括网站制作、成都网站建设、重庆APP开发公司微信小程序、宣传片制作、LOGO设计等,帮助客户快速提升营销能力和企业形象,创新互联各部门都有经验丰富的经验,可以确保每一个作品的质量和创作周期,同时每年都有很多新员工加入,为我们带来大量新的创意。 

"Thread-2" prio=10 tid=0x00007f9a901a2800 nid=0x878 runnable [0x00007f9a4b2d2000]
  java.lang.Thread.State: RUNNABLE
       at java.net.Inet6AddressImpl.getHostByAddr(Native Method)
       at java.net.InetAddress$1.getHostByAddr(Unknown Source)
       at java.net.InetAddress.getHostFromNameService(Unknown Source)
       at java.net.InetAddress.getHostName(Unknown Source)
       at java.net.InetAddress.getHostName(Unknown Source)
       at java.net.InetSocketAddress.getHostName(Unknown Source)
       at sun.net.httpserver.SSLStreams.(Unknown Source)
       at sun.net.httpserver.ServerImpl$Exchange.run(Unknown Source)
       at sun.net.httpserver.ServerImpl$DefaultExecutor.execute(Unknown Source)
       at sun.net.httpserver.ServerImpl$Dispatcher.handle(Unknown Source)
       at sun.net.httpserver.ServerImpl$Dispatcher.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)

在www.docjar.com网站下载SSLStreams源码

修改getHostName为getHostAddress

编译后替换所有生成的class文件

或者使用SSLServerSocket解决


当前文章:javahttpsserver访问慢问题-创新互联
文章起源:http://scyingshan.cn/article/djgdgj.html