简体   繁体   English

在 Intellij 中拒绝连接到 http://127.0.0.1:8888

[英]Connection to http://127.0.0.1:8888 refused in intellij

I added to my gradle.build 2 dependencies:我添加到我的 gradle.build 2 依赖项:

compile 'com.google.http-client:google-http-client'
compile 'com.google.http-client:google-http-client-jackson2'

I try to refresh from Intellij and I get an error:我尝试从 Intellij 刷新,但出现错误:

在此处输入图片说明

在此处输入图片说明 I try to build from cmd and I get this error:我尝试从 cmd 构建,但出现此错误:

>Could not resolve com.google.http-client:google-http-client:.
  Required by:
      :RoutingRegression:1.0
   > Could not GET 'http://www.hibernatespatial.org/repository/com/google/http-client/google-http-client//google-http-client-.pom'.
      > Connection to http://127.0.0.1:8888 refused
> Could not resolve com.google.http-client:google-http-client-jackson2:.
  Required by:
      :RoutingRegression:1.0
   > Could not GET 'http://www.hibernatespatial.org/repository/com/google/http-client/google-http-client-jackson2//google-http-client-jackson2-.pom'.
      > Connection to http://127.0.0.1:8888 refused

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

how can i fix this?我怎样才能解决这个问题?

您机器中的其他应用程序似乎正在使用端口 8888,您可以尝试关闭应用程序并再次尝试构建

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 修复 Intellij Idea 下载源连接拒绝主机 127.0.0.1 错误 - Fix Intellij Idea download sources Connection Refused to host 127.0.0.1 error 无法执行 HTTP 请求:连接到 localhost:8000 [localhost/127.0.0.1] 失败:连接被拒绝(连接被拒绝) - Unable to execute HTTP request: Connect to localhost:8000 [localhost/127.0.0.1] failed: Connection refused (Connection refused) org.apache.http.conn.HttpHostConnectException:连接到127.0.0.1:7055 [/127.0.0.1]失败:连接被拒绝:connect - org.apache.http.conn.HttpHostConnectException: Connect to 127.0.0.1:7055 [/127.0.0.1] failed: Connection refused: connect RMI ConnectException:连接拒绝托管:127.0.0.1 - RMI ConnectException: Connection refused to host: 127.0.0.1 Appium:连接到127.0.0.1:4723 [/127.0.0.1]失败:连接被拒绝:connect - Appium: Connect to 127.0.0.1:4723 [/127.0.0.1] failed: Connection refused: connect ActiveMQ http连接被拒绝 - ActiveMQ http connection refused Android http 连接被拒绝 - Android http connection refused Raspberry Pi上的RMI无法正常工作连接拒绝托管:127.0.0.1 - RMI on Raspberry Pi not working Connection refused to host : 127.0.0.1 java.rmi.ConnectException:拒绝连接主机:127.0.0.1 - java.rmi.ConnectException: Connection refused to host: 127.0.0.1 HttpHostConnectException:连接到 localhost:2375 [localhost/127.0.0.1] 失败:连接被拒绝 - HttpHostConnectException: Connect to localhost:2375 [localhost/127.0.0.1] failed: Connection refused
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM