[GH-ISSUE #2734] [Feature Request] #2183

Closed
opened 2026-05-05 13:24:18 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @ranjeet-pivotchain on GitHub (Jan 4, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2734

Need suggessions

Currently, I can add the below content at the client-side to access 80 port publicly.
Client-side:
frpc.ini
[web]
type = http
local_port = 80
custom_domains = xyz.domain.com

Server side:
vhost_http_port = 8080

And to access the service running locally on port 80, I am using the below URL that is working correctly.
http://xyz.domain.com:8080
Till now it's working well.
Now, what if I have more than one web service running locally and I wanted to access them globally using FRP.
How could I do that with frp?

Example
I have one more service which is running on port 9099 locally.
How could I access it publically using FRP

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @ranjeet-pivotchain on GitHub (Jan 4, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2734 Need suggessions Currently, I can add the below content at the client-side to access 80 port publicly. Client-side: frpc.ini [web] type = http local_port = 80 custom_domains = xyz.domain.com Server side: vhost_http_port = 8080 And to access the service running locally on port 80, I am using the below URL that is working correctly. http://xyz.domain.com:8080 Till now it's working well. Now, what if I have more than one web service running locally and I wanted to access them globally using FRP. How could I do that with frp? Example I have one more service which is running on port 9099 locally. How could I access it publically using FRP ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [X] Client Plugin - [X] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@fatedier commented on GitHub (Jan 4, 2022):

[web2]
type = http
local_port = 9099
custom_domains = another.domain.com

or

[web2]
type = tcp
local_port = 9099
remote_port = 8080
<!-- gh-comment-id:1004672355 --> @fatedier commented on GitHub (Jan 4, 2022): ``` [web2] type = http local_port = 9099 custom_domains = another.domain.com ``` or ``` [web2] type = tcp local_port = 9099 remote_port = 8080 ```
Author
Owner

@ranjeet-pivotchain commented on GitHub (Jan 4, 2022):

Hey,

How do I Access the local web socket port?
Currently, I am trying using HTTP but it's telling upgrade required.

On Tue, Jan 4, 2022 at 3:33 PM fatedier @.***> wrote:

Closed #2734 https://github.com/fatedier/frp/issues/2734.


Reply to this email directly, view it on GitHub
https://github.com/fatedier/frp/issues/2734#event-5839414954, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ5W7OLXB535LIPVR7JJRD3UULAVXANCNFSM5LHADYUA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID:
@.***>

--
With Regards,
Ranjeet Jadhav
DevOps Engineer
Mobile no: +91-8600619615
@.***
https://pivotchain.com/

<!-- gh-comment-id:1004709201 --> @ranjeet-pivotchain commented on GitHub (Jan 4, 2022): Hey, How do I Access the local web socket port? Currently, I am trying using HTTP but it's telling *upgrade required.* On Tue, Jan 4, 2022 at 3:33 PM fatedier ***@***.***> wrote: > Closed #2734 <https://github.com/fatedier/frp/issues/2734>. > > — > Reply to this email directly, view it on GitHub > <https://github.com/fatedier/frp/issues/2734#event-5839414954>, or > unsubscribe > <https://github.com/notifications/unsubscribe-auth/AQ5W7OLXB535LIPVR7JJRD3UULAVXANCNFSM5LHADYUA> > . > Triage notifications on the go with GitHub Mobile for iOS > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> > or Android > <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. > > You are receiving this because you authored the thread.Message ID: > ***@***.***> > -- With Regards, Ranjeet Jadhav DevOps Engineer Mobile no: +91-8600619615 ***@***.*** https://pivotchain.com/
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#2183
No description provided.