I want to run an simple web application on my industrial PC (based on raspberrypi) and host it on LAN. The purpose of the web application is that there is some kind of interface for the PC via WiFi. The PC has Debian OS running (without a graphical interface).
In order to run the app on Linux, I published the app (Self contained, Single File, linux-arm). On the PC I have configured some routes using iptables. I opened port 443 (HTTPS) and 80 (HTTP) to allow browser traffic through these ports. Both the ethernet and WiFi have a static IP. When I run the app, and browse to the page on another device via LAN the layout or something is all messed up. I don't know where to start because I have little to none experience with ASP.NET/ HTML / CSS.
I had the exact same symptoms when I attempted to run this from the terminal from my home directory. Just changing my directory to the root directory of the site and the css, js, images and so on started working again. I think it was looking for those files in my home directory rather than the executables directory. So this is one cause which might help someone.
My workspace is composed of 2 computers, a mac and a Pc running linux Manjaro.
To avoid having 2 keyboards, I use the one of my mac, with layout CH-DE.
I'm having some trouble using Barrier(Synergy) between the mac as server and a linux as client.