[GH-ISSUE #2735] local websocket port access #2185

Closed
opened 2026-05-05 13:24:25 -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/2735

Bug Description

Hey,

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

[web]
type = http
local_port = 80
custom_domains = xyz.domain.com

frpc Version

0.38.0

frps Version

0.38.0

System Architecture

linux/amd64 ubuntu

Configurations

frps server side:
cat frps.ini
[common]
bind_port = 7000
vhost_http_port = 8080

frpc client side:
cat frpc.ini
cat frpc.ini
[common]
server_addr = SERVER_IP
server_port = 7000

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

[web]
type = http
local_port = 80
custom_domains = xyz.domain.com

After starting client and server when I hit URL http://xyz.domain.com:8080 then it's showing logs Upgrade required
lplplplplp

Logs

No response

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 @ranjeet-pivotchain on GitHub (Jan 4, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2735 ### Bug Description Hey, How do I access the local web socket port? Currently, I am trying using HTTP but it's telling **upgrade required.** [web] type = http local_port = 80 custom_domains = xyz.domain.com ### frpc Version 0.38.0 ### frps Version 0.38.0 ### System Architecture linux/amd64 ubuntu ### Configurations frps server side: cat frps.ini [common] bind_port = 7000 vhost_http_port = 8080 frpc client side: cat frpc.ini cat frpc.ini [common] server_addr = SERVER_IP server_port = 7000 [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 6000 [web] type = http local_port = 80 custom_domains = xyz.domain.com After starting client and server when I hit URL http://xyz.domain.com:8080 then it's showing logs **Upgrade required** ![lplplplplp](https://user-images.githubusercontent.com/71004089/148051407-8c0b99c9-1c8a-471b-bdd1-54851b492550.png) ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:24:25 -06:00
Author
Owner

@Becods commented on GitHub (Jan 5, 2022):

https://github.com/fatedier/frp/pull/2601

We don't want to maintain the protocol websocket between frpc and frps now. It's not the core feature for frp.

For this I suggest that you use the tcp protocol to proxy the local web server

<!-- gh-comment-id:1005559859 --> @Becods commented on GitHub (Jan 5, 2022): https://github.com/fatedier/frp/pull/2601 > We don't want to maintain the protocol websocket between frpc and frps now. It's not the core feature for frp. For this I suggest that you use the tcp protocol to proxy the local web server
Author
Owner

@github-actions[bot] commented on GitHub (Feb 5, 2022):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1030463551 --> @github-actions[bot] commented on GitHub (Feb 5, 2022): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#2185
No description provided.