I have Ubuntu 20.04 LTS installed on my primary computer and Windows 10 1909 installed on secondary computer. I usually build websites. If I want to view a simple HTML file, I just open it on the browser. But what if I want to view those on my secondary PC.
What should I do to open those HTML files on my secondary computer on a browser?
I think the only way to manage files on multiple devices is to use some sort of version control or use a usb and plug it into whatever computer you wish to see the file.
Well I managed to do it by using file sharing in Ubuntu.
In nautilus (file explorer on ubuntu), right click on the specific folder/file and select properties, and then go to local sharing, and select the required boxes you want.
Now go to windows and press
windows + r
and type\\<IP Address of Ubuntu PC>
i.e., two back slashes followed by the and press enter. And there you can see all the shared files in the file explorerIf you want to see the files for local host server from ubuntu to linux
Open Windows and type
http://<IP Address>:<Port>
in the address bar of any browser. And you are connected to the local host from Ubuntu on Windows.