(求助)登录不成功

liuhm 1月前 107

还需要启动什么服务吗

im.admin_url=http://localhost:18080 im.admin_secret=123456

org.apache.http.conn.HttpHostConnectException: Connect to localhost:18080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect  at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:159)  at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373)  at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:394)  at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)  at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)  at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)  at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)  at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)  at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)  at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)  at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)  at cn.wildfirechat.sdk.utilities.AdminHttpUtils.httpJsonPost(AdminHttpUtils.java:67)  at cn.wildfirechat.sdk.UserAdmin.getUserByMobile(UserAdmin.java:25)  at cn.wildfirechat.app.ServiceImpl.login(ServiceImpl.java:145)  at cn.wildfirechat.app.Controller.login(Controller.java:30)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.lang.reflect.Method.invoke(Method.java:498)  at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)  at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)  at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)  at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:891)  at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)  at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877)  at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)  at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851)  at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

最新回复 (1)
返回