[GH-ISSUE #4352] xtcp打洞成功后如何通过http访问 #3437

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

Originally created by @Hirsi-He on GitHub (Jul 27, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4352

Bug Description

我的公司电脑作为被访问端,挂了一个视频服务,配置的xtcp端口映射到这个服务端口上,服务是http协议的
我家这边作为访问端启动了xtcp,打洞成功了,但是无法通过http访问本地端口来访问公司电脑的http服务
image

frpc Version

0.59.0

frps Version

0.59.0

System Architecture

windows/amd64

Configurations

name = "p2p_http_visitor"
type = "xtcp"
serverName = "p2p_http"
secretKey = "**********"
bindAddr = "127.0.0.1"
bindPort = 6000

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 @Hirsi-He on GitHub (Jul 27, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4352 ### Bug Description 我的公司电脑作为被访问端,挂了一个视频服务,配置的xtcp端口映射到这个服务端口上,服务是http协议的 我家这边作为访问端启动了xtcp,打洞成功了,但是无法通过http访问本地端口来访问公司电脑的http服务 ![image](https://github.com/user-attachments/assets/b41957d4-4673-43e9-b678-9c5223219a33) ### frpc Version 0.59.0 ### frps Version 0.59.0 ### System Architecture windows/amd64 ### Configurations name = "p2p_http_visitor" type = "xtcp" serverName = "p2p_http" secretKey = "**********" bindAddr = "127.0.0.1" bindPort = 6000 ### 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
Author
Owner

@Hirsi-He commented on GitHub (Jul 30, 2024):

这种如何能通过http访问啊

<!-- gh-comment-id:2257523998 --> @Hirsi-He commented on GitHub (Jul 30, 2024): 这种如何能通过http访问啊
Author
Owner

@fatedier commented on GitHub (Jul 31, 2024):

Please use a search engine to query and solve the problem.

<!-- gh-comment-id:2259963333 --> @fatedier commented on GitHub (Jul 31, 2024): Please use a search engine to query and solve the problem.
Author
Owner

@Hirsi-He commented on GitHub (Aug 1, 2024):

Please use a search engine to query and solve the problem.

Search engines cannot find a solution to this problem

<!-- gh-comment-id:2261901353 --> @Hirsi-He commented on GitHub (Aug 1, 2024): > Please use a search engine to query and solve the problem. Search engines cannot find a solution to this problem
Author
Owner

@Hirsi-He commented on GitHub (Aug 1, 2024):

Please use a search engine to query and solve the problem.

Can you provide some guidance

<!-- gh-comment-id:2261902279 --> @Hirsi-He commented on GitHub (Aug 1, 2024): > Please use a search engine to query and solve the problem. Can you provide some guidance
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#3437
No description provided.