Hello,
Coming back to technology 20 years later.
I installed Plone with Volto by following the Install Plone with CookiePlone.
I’m using Ubuntu 24.04 LTS on WSL2.
I can see the backend and the frontend through localhost:8080 and localhost:3000.
I didn’t make any modification, only the installation and the start?
I tried to acces the server from my android device to see To see how it looks, I'm getting an ERR_CONNECTION_REFUSED error.
I would like know what track to follow to find a solution.
20 years ago I was a newbie. Now I am a new newbie but i’d like to start searching.
Thanks in advance
You can not access services running on localhost or 127.0.0.1 from an outside device - basic network knowledge. Bind the frontend to 0.0.0.0 or the related IP address. And with WSL2, you likely need to forward the related port..forgot how this works with WSL2.
In addition to setting up port forwarding from your Windows PC to the WSL2 Ubuntu, you will have to know the IP address of your Windows PC, and use that when browsing on your Android device.
Thank you for your help.
I've already had access to servers on 127.0.0.1.
I'm using my <machine's IP addressW: via Wifi.
It worked perfectly with Django and Odoo, for example.
Now I was able to access the homepage with Volto, but I don't have the style.
But I was able to access the server. I need to investigate further.
That’s what I am doing.
Thanks
If you look in your browser's console, are you seeing errors trying to fetch resources at port 3001?
You can start the frontend process with an environment variable setting the IP-Address of the PC as Hostname. But I am not sure if you are fine with WSL then.
see these posts:
Ah, nice! Specifically this:
@Karukera what command do you use to start the front end?