使用社区版可以启动server,运行中发现还需要访问8085端口,还需要开放这个端口么?

okhaha 10月前 480

java.net.ConnectException: Failed to connect to localhost/127.0.0.1:8085

 at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:249) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:167) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:125) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:264) at okhttp3.RealCall$AsyncCall.execute(RealCall.java:210) at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.net.ConnectException: 拒绝连接 (Connection refused)

最新回复 (4)
  • x86 9月前
    引用 2
    我们默认没有用到8085呀,请确认下,是修改了什么地方,需要用这个端口?
  • okhaha 9月前
    引用 3
    2. 野火IM服务器的部署
    2.0.1. 配置修改
    社区版软件下载 (点这儿去下载编译好的版本,如果想自行编译的话,请用git clone整个仓库下来,别打包下载zip压缩包,压缩包会编译错误!) 解压后,修改/config/wildfirechat.conf文件,修改http_port为80,修改server.ip为服务器ip地址。

    按照docs上的描述操作的。 看了下config,推送服务器使用了这个端口。
  • x86 9月前
    引用 4
    推送服务对应的仓库是pushserver,你可以部署一下

    上面的错误,应当不影响正常的收发消息吧?
  • okhaha 9月前
    引用 5
    不影响收发信息, 推送服务我还没用过
返回