[GH-ISSUE #1502] How can I set bind address for remote port #1183

Closed
opened 2026-05-05 12:45:43 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @zzh1996 on GitHub (Nov 6, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1502

# frpc.ini
[common]
server_addr = x.x.x.x
server_port = 7000

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000

I want frps to listen at 127.0.0.1:6000 instead of 0.0.0.0:6000

Originally created by @zzh1996 on GitHub (Nov 6, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1502 ``` # frpc.ini [common] server_addr = x.x.x.x server_port = 7000 [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 6000 ``` I want `frps` to listen at `127.0.0.1:6000` instead of `0.0.0.0:6000`
Author
Owner

@kingjcy commented on GitHub (Nov 7, 2019):

you should modify config in frps.ini

<!-- gh-comment-id:550596054 --> @kingjcy commented on GitHub (Nov 7, 2019): you should modify config in frps.ini
Author
Owner

@fatedier commented on GitHub (Nov 7, 2019):

https://github.com/fatedier/frp/blob/master/conf/frps_full.ini#L16

<!-- gh-comment-id:550598469 --> @fatedier commented on GitHub (Nov 7, 2019): https://github.com/fatedier/frp/blob/master/conf/frps_full.ini#L16
Author
Owner

@zzh1996 commented on GitHub (Nov 7, 2019):

Thanks

<!-- gh-comment-id:551142740 --> @zzh1996 commented on GitHub (Nov 7, 2019): Thanks
Author
Owner

@BenSYZ commented on GitHub (Apr 19, 2023):

Line number changed.

# proxy_bind_addr = 127.0.0.1
<!-- gh-comment-id:1514086809 --> @BenSYZ commented on GitHub (Apr 19, 2023): Line number changed. ```conf # proxy_bind_addr = 127.0.0.1 ```
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#1183
No description provided.