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

在腾讯云上运行服务端直接报错!Cannot assign requested address #21

Closed
mailes opened this issue May 15, 2021 · 0 comments
Closed

Comments

@mailes
Copy link

mailes commented May 15, 2021

2021/05/15 21:26:33.299|DEBUG|===== FastTunnel Server Start =====
2021/05/15 21:26:33.517|DEBUG|FastTunnel Server Start
2021/05/15 21:26:33.543|ERROR|System.Net.Sockets.SocketException (99): Cannot assign requested address
at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at FastTunnel.Core.Listener1..ctor(String ip, Int32 port, ILogger1 logerr, Action2 acceptCustomerHandler, T data) at FastTunnel.Core.Core.FastTunnelServer.ListenFastTunnelClient() at FastTunnel.Core.Core.FastTunnelServer.Run() at FastTunnel.Server.Program.Run(IServiceProvider servicesProvider) at FastTunnel.Server.Program.Main(String[] args) Cannot assign requested address System.Net.Sockets.SocketException (99): Cannot assign requested address at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName) at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Bind(EndPoint localEP) at FastTunnel.Core.Listener1..ctor(String ip, Int32 port, ILogger1 logerr, Action2 acceptCustomerHandler, T data)
at FastTunnel.Core.Core.FastTunnelServer.ListenFastTunnelClient()
at FastTunnel.Core.Core.FastTunnelServer.Run()
at FastTunnel.Server.Program.Run(IServiceProvider servicesProvider)
at FastTunnel.Server.Program.Main(String[] args)

配置文件:

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"ServerSettings": {
"BindAddr": "152.136.110.82", // 可选
"BindPort": 1271, // 可选

"Domain": "codecocoa.com", // 自定义域名web穿透必须

// 服务监听的端口号, 访问自定义域名站点时url为 http://{SubDomain}.{Domain}:{ProxyPort_HTTP}/
"ProxyPort_HTTP": 1270, // web穿透必须
"HasNginxProxy": false // 可选,ngixn反向代理后可省略域名后的端口号进行访问

}
}

@mailes mailes closed this as completed May 15, 2021
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

1 participant