[GH-ISSUE #2173] Webserver Reachable Locally but not over Proxy Adress #1729

Closed
opened 2026-05-05 13:06:35 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @ghost on GitHub (Jan 3, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2173

[REQUIRED] hat version of frp are you using

Version: v0.34.3

[REQUIRED] What operating system and processor architecture are you using
OS: Linux ubuntu 20.04
CPU architecture: AMD Ryzen

[REQUIRED] description of errors
Website is locally reachable over 192.168.0.51 without problems
but when trying to reach the website over the proxys ipadress it doesnt work at all
no errors are givin in the proxy console

confile

[web]
type = tcp
local_ip = 192.168.0.51
local_port = 80
remote_port = 80

log file

https://pastebin.com/XVuH19a7

Supplementary information
I used Apache2 and Nginx but issue on both
There is also currently a netdata server online what is also a webserver on port 19999 what works partally
http://www.auroraserver.de is the website that doesnt work
netdata with the same options just port 19999 work partially
http://www.auroraserver.de:19999

Can you guess what caused this issue
Maybe bad configuration or a port misunderstanding

Checklist:

  • I included all information required in the sections above
  • I made sure there are no duplicates of this report (Use Search)
Originally created by @ghost on GitHub (Jan 3, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2173 <!-- From Chinese to English by machine translation, welcome to revise and polish. --> <!-- ⚠️⚠️ Incomplete reports will be marked as invalid, and closed, with few exceptions ⚠️⚠️ --> <!-- in addition, please use search well so that the same solution can be found in the feedback, we will close it directly --> <!-- for convenience of differentiation, use FRPS or FRPC to refer to the FRP server or client --> **[REQUIRED] hat version of frp are you using** <!-- Use ./frpc -v or ./frps -v --> Version: v0.34.3 **[REQUIRED] What operating system and processor architecture are you using** OS: Linux ubuntu 20.04 CPU architecture: AMD Ryzen **[REQUIRED] description of errors** Website is locally reachable over 192.168.0.51 without problems but when trying to reach the website over the proxys ipadress it doesnt work at all no errors are givin in the proxy console **confile** <!-- Please pay attention to hiding the token, server_addr and other privacy information --> [web] type = tcp local_ip = 192.168.0.51 local_port = 80 remote_port = 80 **log file** <!-- If the file is too large, use Pastebin, for example https://pastebin.ubuntu.com/ --> https://pastebin.com/XVuH19a7 **Supplementary information** I used Apache2 and Nginx but issue on both There is also currently a netdata server online what is also a webserver on port 19999 what works partally http://www.auroraserver.de is the website that doesnt work netdata with the same options just port 19999 work partially http://www.auroraserver.de:19999 **Can you guess what caused this issue** Maybe bad configuration or a port misunderstanding **Checklist**: <!--- Make sure you've completed the following steps (put an "X" between of brackets): --> - [X] I included all information required in the sections above - [X] I made sure there are no duplicates of this report [(Use Search)](https://github.com/fatedier/frp/issues?q=is%3Aissue)
Author
Owner

@fatedier commented on GitHub (Jan 5, 2021):

Your configures make a port forwarder from frps ip:80 to 192.168.0.51:80.

When you visit frps ip:80, the network traffic will be transfered to local service.

<!-- gh-comment-id:754366345 --> @fatedier commented on GitHub (Jan 5, 2021): Your configures make a port forwarder from `frps ip:80` to `192.168.0.51:80`. When you visit `frps ip:80`, the network traffic will be transfered to local service.
Author
Owner

@ghost commented on GitHub (Jan 5, 2021):

Yes thats sure and its configures correctly like that.

But, i can reach my Webserver on 192.168.0.51:80 , but i cant reach it over the frps ip:80
so somethings seems wrong and i dont know what.

<!-- gh-comment-id:754482289 --> @ghost commented on GitHub (Jan 5, 2021): Yes thats sure and its configures correctly like that. But, i can reach my Webserver on 192.168.0.51:80 , but i cant reach it over the frps ip:80 so somethings seems wrong and i dont know what.
Author
Owner

@fatedier commented on GitHub (Jan 5, 2021):

I haven't seen your error log. Did you paste all your logs?

<!-- gh-comment-id:754487078 --> @fatedier commented on GitHub (Jan 5, 2021): I haven't seen your error log. Did you paste all your logs?
Author
Owner

@ghost commented on GitHub (Jan 5, 2021):

Logs frps:
https://pastebin.com/GBJNVtYv

Logs frpc:
https://pastebin.com/Y915EmQ4

the proxy http says its successfull but when trying to reach the frps server on port 80 it will not be found:
see http://auroraserver.de
in my local network the website CAN be reached over http://192.168.0.51:80

<!-- gh-comment-id:754837311 --> @ghost commented on GitHub (Jan 5, 2021): Logs frps: https://pastebin.com/GBJNVtYv Logs frpc: https://pastebin.com/Y915EmQ4 the proxy http says its successfull but when trying to reach the frps server on port 80 it will not be found: see http://auroraserver.de in my local network the website CAN be reached over http://192.168.0.51:80
Author
Owner

@fatedier commented on GitHub (Jan 6, 2021):

You can deploy frpc and frps in the same machine to test if you have an mistake in your configures.

<!-- gh-comment-id:755052380 --> @fatedier commented on GitHub (Jan 6, 2021): You can deploy frpc and frps in the same machine to test if you have an mistake in your configures.
Author
Owner

@ghost commented on GitHub (Jan 6, 2021):

Issue Finnaly Resolved after reinstalling the whole server os....

<!-- gh-comment-id:755387428 --> @ghost commented on GitHub (Jan 6, 2021): Issue Finnaly Resolved after reinstalling the whole server os....
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#1729
No description provided.