mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1345] linux系统作服务器,windows作客户端,使用plugin static_file访问时总是404 #1066
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#1066
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 @lujiahaoo on GitHub (Jul 31, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1345
使用版本是0.27.1 amd64
linux服务端配置如下:
bind_port = 7000
dashboard_port =7500
dashboard_user =ljh
dashboard_pwd =ljh
windows客户端配置如下:
[common]
server_addr = ****
server_port = 7000
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000
[static_file]
type = tcp
remote_port = 7250
plugin = static_file
plugin_local_path=C:/share
plugin_strip_prefix =share
plugin_http_user =user
plugin_http_passwd =pwd
服务端和客户端启动都正常,dashboard也监听得到6000和7250端口,
客户端启动时返回也正常
$ frpc.exe
2019/07/31 10:29:31 [I] [service.go:221] login to server success, get run id [25 9f11ee9dabd1dd], server udp port [0]
2019/07/31 10:29:31 [I] [proxy_manager.go:137] [259f11ee9dabd1dd] proxy added: [ ssh static_file]
2019/07/31 10:29:31 [I] [control.go:144] [ssh] start proxy success
2019/07/31 10:29:31 [I] [control.go:144] [static_file] start proxy success
但是访问 *****:7250/share时一直返回404 page not found