dimanche 22 novembre 2020

Why frp can't get http?

I'm trying use frp to get attach to the website of my no-pubilc-ip machine. Now my question is:

I can ssh through ssh -p 5040 root@XX.XX.XX.XX (XX.XX.XX.XX is my another machine's pubilc-ip) now.But I can't get my website through XX.XX.XX.XX:5020. And I can get it through 192.168.1.100. I don't know how to deal with it.

Below is my frp configuration (no ip and token): frps.ini

[common]
bind_port = 5001
dashboard_port = 5010
token = -----
dashboard_user = ----
dashboard_pwd = ---
vhost_http_port = 5020
vhost_https_port = 5030

frpc.ini

[common]
server_addr = XX.XX.XX.XX
server_port = 5001
token = ---------

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

[web]
type = http
local_port = 80
custom_domains = 192.168.1.100

And XX.XX.XX.XX:5020 show:

The page you requested was not found.
Sorry, the page you are looking for is currently unavailable.
Please try again later.

The server is powered by frp.

Faithfully yours, frp.



Aucun commentaire:

Enregistrer un commentaire