mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2735] local websocket port access #2185
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#2185
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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

Logs
No response
Steps to reproduce
...
Affected area
@Becods commented on GitHub (Jan 5, 2022):
https://github.com/fatedier/frp/pull/2601
For this I suggest that you use the tcp protocol to proxy the local web server
@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.