开发者社区 问答 正文

spring webscoket本地测试正常,放到服务器上握手不成功,求解?

前端采用sockjs
[WARN]-[WARN] Handler execution resulted in exception: org.springframework.web.socket.server.HandshakeFailureException: Uncaught failure for request http://shangjia.exiangjia.com:80/websocketserver; nested exception is java.lang.IllegalArgumentException: hostname can't be null

展开
收起
e享家 2016-02-23 10:33:05 4732 分享 版权
1 条回答
写回答
取消 提交回答
  • 解决了么?

    2019-07-17 18:30:11
    赞同 展开评论