问题出现的环境背景及自己尝试过哪些方法
打开charles,开启macOS proxy,
访问的是本地运行的项目:http://0.0.0.0:15006/
问题描述
相关代码
你期待的结果是什么?实际看到的错误信息又是什么?
实际看到的错误信息为:
Charles Error Report
Failed to connect to remote host
Charles failed to connect to the remote host. Check that your Internet connection is ok and that the remote host is accessible. Maybe your network uses a proxy server to access the Internet? You can configure Charles to use an external proxy server in the External Proxy Settings.
The actual exception reported was:
java.net.ConnectException: Connection refused (Connection refused)
Charles Proxy,https://www.charlesproxy.com/