Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused)
时间: 2023-10-12 13:06:25 浏览: 215
Java中Connection timed out和Connection refused的区别讲解
Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused)是一个错误信息,它表示连接被拒绝。这个错误通常发生在尝试建立网络连接的过程中,但由于某些原因连接被拒绝了。根据引用中的信息,这个错误可能是由于java.net.ConnectException引起的。根据引用提供的相关资料,我推测这个错误可能是由于访问的端口错误引起的。如果你遇到了这个错误,你可以参考引用中提供的解决办法,检查配置文件中的端口设置,并进行更改为正确的端口。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: con](https://blog.csdn.net/tck001221/article/details/130697453)[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: 33.333333333333336%"]
- *2* [java.net.ConnectException: Connection refused问题解决办法](https://download.csdn.net/download/weixin_38711778/12790245)[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: 33.333333333333336%"]
- *3* [Connection refused: ... nested exception is java.net.ConnectException: Connection refused: 解决办法](https://blog.csdn.net/weixin_56859779/article/details/119407885)[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: 33.333333333333336%"]
[ .reference_list ]
阅读全文