[GH-ISSUE #4661] STCP visitor mode cannot start #3683

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

Originally created by @starworld99 on GitHub (Feb 8, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4661

Bug Description

Helllo my environment as follow: Router A installed both frps and frpc version 0.51, Router B frpc 0.42. I need establish p2p link between two routers.

  1. if I set stcp server on router A, stcp visitor on router B, everything is fine;
  2. if I set sccp server on router B, stcp visitor on router A, frpc could not start on router A, frps starts normal, router B registered to frps on router A.

frpc Version

0.42 on B and 0.51 on A

frps Version

0.51

System Architecture

openwrt

Configurations

on Router A side:
[modem]
type = stcp
local_ip = 192.168.8.1
local_port = 10033
use_encryption = true
use_compression = false
role = stcp visitor
server_name = modem
sk = password

on Router B side:
[modem]
type=stcp
local_ip=192.168.1.1
local_port=80
sk=password
use_encryption=true
use_compression=false

Logs

frpc could not start, no log collected

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @starworld99 on GitHub (Feb 8, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4661 ### Bug Description Helllo my environment as follow: Router A installed both frps and frpc version 0.51, Router B frpc 0.42. I need establish p2p link between two routers. 1. if I set stcp server on router A, stcp visitor on router B, everything is fine; 2. if I set sccp server on router B, stcp visitor on router A, frpc could not start on router A, frps starts normal, router B registered to frps on router A. ### frpc Version 0.42 on B and 0.51 on A ### frps Version 0.51 ### System Architecture openwrt ### Configurations on Router A side: [modem] type = stcp local_ip = 192.168.8.1 local_port = 10033 use_encryption = true use_compression = false role = stcp visitor server_name = modem sk = password on Router B side: [modem] type=stcp local_ip=192.168.1.1 local_port=80 sk=password use_encryption=true use_compression=false ### Logs frpc could not start, no log collected ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [x] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [x] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@starworld99 commented on GitHub (Feb 9, 2025):

let me answer it myself, on visitor side bind ip and bind port must given, local ip and local port is an option parameter.

<!-- gh-comment-id:2646172820 --> @starworld99 commented on GitHub (Feb 9, 2025): let me answer it myself, on visitor side bind ip and bind port must given, local ip and local port is an option parameter.
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#3683
No description provided.