Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

由于目标计算机积极拒绝,无法连接 #3431

Open
YedLeo1 opened this issue Aug 23, 2023 · 2 comments
Open

由于目标计算机积极拒绝,无法连接 #3431

YedLeo1 opened this issue Aug 23, 2023 · 2 comments

Comments

@YedLeo1
Copy link

YedLeo1 commented Aug 23, 2023

简要描述问题

环境

Shadowsocks客户端版本:4.4.1.0
操作系统版本:Windows 10 64位
.NET版本:未知

操作步骤

连接服务端并开启全局代理

期望的结果

开启全局代理

实际结果

由于目标计算机积极拒绝,无法连接

配置文件和日志文件(请隐去敏感信息)

2023-08-23 19:48:30.0422|WARN|Shadowsocks.Controller.TCPHandler|System.Net.Sockets.SocketException (0x80004005): 由于目标计算机积极拒绝,无法连接。
   在 Shadowsocks.Util.Sockets.WrappedSocket.EndConnect(IAsyncResult asyncResult)
   在 Shadowsocks.Proxy.DirectConnect.EndConnectDest(IAsyncResult asyncResult)
   在 Shadowsocks.Controller.TCPHandler.ConnectCallback(IAsyncResult ar)

服务端设置

{     
"server":"0.0.0.0",    
"server_port":7890,       
"local_address": "127.0.0.1",     
"local_port":1080,     
"password":"114514",     
"timeout":300,     
"method":"aes-256-cfb" 
}

并使用内网穿透

[common]
server_addr = 
server_port = 49997
protocol = tcp
user = 
token =

[1212]
type = udp
local_ip = 127.0.0.1
local_port = 7890
remote_port = 40183

服务端能正常pac同步,但是没有任何输出

@chenshaoju
Copy link
Collaborator

一般来说这个错误意味着你的服务端不正常,可能的原因包括但不限于客户端配置了错误的服务器IP和端口、服务端的Shadowsocks服务未启动,端口错误,或者运行的是非Shadowsocks协议的服务端等。

@laviol
Copy link

laviol commented Oct 2, 2023

Just spent about 12 hours to find out that my configuration was invalid (one damn digit in the IP address), error log was exactly the same.
You should probably check the configuration more precisely and the connection to your remote host too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants