mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1288] How to configure frpc.ini if my VPS without domains? #1020
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#1020
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 @NightMarcher on GitHub (Jun 15, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1288
Version: 0.27.0
I got a web server within LAN, which is wanted to be accessed from outer network. I deployed frps on my vps without domains. It can be connected by frpc on my web server, but not correctly.
If custom_domains and subdomain were not set,
custom_domains and subdomain should set at least one of themwill be raised. If I set any of them, when I browsex.x.x.x:8080(server_addr:vhost_http_port) in chrome, I got[W] [http.go:223] http: proxy error: no such domain: x.x.x.x.So if my VPS without domains, frp cannot work? I am confused, please help!
@fatedier commented on GitHub (Jun 16, 2019):
Use type
tcp.Or set
custom_domains = { server_addr }.@NightMarcher commented on GitHub (Jun 17, 2019):
Problem solved, mush appreciated!
@ihmc3jn09hk commented on GitHub (Sep 8, 2021):
With https, if
server_addr = 1.1.1.1, setting the domain to the server ip is not working, e.g.custom_domains = 1.1.1.1.Any help ?