[GH-ISSUE #4649] bindPort使用443端口连接问题 #3673

Closed
opened 2026-05-05 14:21:27 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @lucky2046 on GitHub (Jan 24, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4649

Bug Description

bindPort使用443端口,相同版本的windows机器上客户端可以连接,mac客户端不可以连接

frpc Version

0.61.1

frps Version

0.61.1

System Architecture

darwin/amd64

Configurations

frps.toml配置:

bindAddr = "0.0.0.0"
bindPort = 443
vhostHTTPPort = 443     # HTTP 虚拟主机端口
vhostHTTPSPort = 443    # HTTPS 虚拟主机端口(如果需要支持 https)
auth.method = "token"
auth.token = "123123"
transport.tls.force = false

frpc.toml配置:

serverAddr = "sample.com"
serverPort = 443
auth.method = "token"
auth.token = "123123"
transport.tls.disableCustomTLSFirstByte = false

[[proxies]]
name = "test-tcp"
type = "tcp"
localIP = "192.168.1.200"
localPort = 22
remotePort = 16000

Logs

2025-01-24 14:47:21.849 [I] [sub/root.go:142] start frpc service for config file [.\frpc.toml]
2025-01-24 14:47:21.854 [I] [client/service.go:295] try to connect to server...
2025-01-24 14:47:31.854 [W] [client/service.go:298] connect to server error: dial tcp x.x.x.x:443: i/o timeout
2025-01-24 14:47:31.854 [I] [sub/root.go:160] frpc service for config file [.\frpc.toml] stopped
login to the server failed: dial tcp x.x.x.x:443: i/o timeout. With loginFailExit enabled, no additional retries will be attempted

Steps to reproduce

  1. 在linux上其他服务端
  2. 在windows上其他客户端,可以正常连接
  3. 在mac上启动相同配置的客户端,不可以正常连接
    ...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @lucky2046 on GitHub (Jan 24, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4649 ### Bug Description bindPort使用443端口,相同版本的windows机器上客户端可以连接,mac客户端不可以连接 ### frpc Version 0.61.1 ### frps Version 0.61.1 ### System Architecture darwin/amd64 ### Configurations frps.toml配置: ``` bindAddr = "0.0.0.0" bindPort = 443 vhostHTTPPort = 443 # HTTP 虚拟主机端口 vhostHTTPSPort = 443 # HTTPS 虚拟主机端口(如果需要支持 https) auth.method = "token" auth.token = "123123" transport.tls.force = false ``` frpc.toml配置: ``` serverAddr = "sample.com" serverPort = 443 auth.method = "token" auth.token = "123123" transport.tls.disableCustomTLSFirstByte = false [[proxies]] name = "test-tcp" type = "tcp" localIP = "192.168.1.200" localPort = 22 remotePort = 16000 ``` ### Logs 2025-01-24 14:47:21.849 [I] [sub/root.go:142] start frpc service for config file [.\frpc.toml] 2025-01-24 14:47:21.854 [I] [client/service.go:295] try to connect to server... 2025-01-24 14:47:31.854 [W] [client/service.go:298] connect to server error: dial tcp x.x.x.x:443: i/o timeout 2025-01-24 14:47:31.854 [I] [sub/root.go:160] frpc service for config file [.\frpc.toml] stopped login to the server failed: dial tcp x.x.x.x:443: i/o timeout. With loginFailExit enabled, no additional retries will be attempted ### Steps to reproduce 1. 在linux上其他服务端 2. 在windows上其他客户端,可以正常连接 3. 在mac上启动相同配置的客户端,不可以正常连接 ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@xqzr commented on GitHub (Jan 28, 2025):

dial tcp x.x.x.x:443: i/o timeout

网络问题

<!-- gh-comment-id:2618579794 --> @xqzr commented on GitHub (Jan 28, 2025): > `dial tcp x.x.x.x:443: i/o timeout` 网络问题
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3673
No description provided.