Anthias and local webserver

Hello,

Is there any way of making Anthias see a local port on the raspberry so that it can display a page hosted in the raspberry?

The context is: I have installed lighttpd on the raspberry and would like to display a directory containing an html page and its files. However, as Anthias runs in a container, I can’t redirect the port and it always shows a refused connection.

Is there any way to give Anthias access to the web server installed locally on the Raspberry? This way I only need to create an asset with the address 127.0.0.1:LOCALHOST_WEB_SERVER_PORT.

Thank you very much in advance.

hi @Hellgorak

So this is a bit trickier than it should be. The quick solution to it is to have your webserver bind on 0.0.0.0 (i.e. all IPs). If you then point Anthias to the IP on your local network, you should be able to make it work. You cannot use localhost/127.0.0.1, as Docker can’t really route traffic to it like that.

If you wan to lock it down further, you can just use a firewall to restrict access to your local webserver.