"Connection refused: no further information: /192.168.0.1:8082
时间: 2023-10-15 19:23:59 浏览: 121
这个错误通常表示在建立连接时出现问题,具体的错误信息是"Connection refused: no further information"。这个错误可能有多种原因。根据您提供的引用内容,这个错误可能是因为端口未开放或容器未与服务器进行端口映射导致的。
解决这个问题的一个方案是将9848这个端口暴露出来。您可以使用以下命令将nacos容器进行重新部署,并将9848端口映射到服务器上:
docker run -it -d \
--name nacos-smile \
-e MODE=standalone \
-v /home/smile/docker/nacos:/nacos \
--restart=always \
-p 8848:8848 \
-p 9848:9848 \
nacos/nacos-server:latest
这个命令将会重新部署nacos容器,并将8848和9848两个端口映射到服务器上。这样,您应该就能够成功连接到192.168.0.1:8082了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Call From hdp-1/192.168.234.129 to hdp-1:8020 failed on connection exception: java.net.ConnectExcept](https://download.csdn.net/download/weixin_38642349/14886000)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [[bug]AnnotatedConnectException: Connection refused: no further information: /192.168.0.100:9848](https://blog.csdn.net/qq_43073558/article/details/128885009)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文