Access CSS from remote machines

Hello,

I have installed a Community Solid server (CSS) on my linux VM. It runs perfectly locally (checked using curl localhost:3000).

However, when I try to access this solid server that is running on localhost:3000 on that machine from outside the VM (from my localhost) using the ip address of the VM, it gives an error.

I tried the proxy-reversing installing the nginx, and put the sites-enabled but it gives “502 Bad Gateway”.

server {
    listen 80;
    server_name 54.165.246.201;

    location / {
        proxy_pass http://localhost:3000;
    }
}

I tried even on amazon ec2 instance, but still didn’t work.

Could you please give any hints that could help solving that issue.

Thanks in advance for the great community!

If you haven’t already - I’d suggest opening up a discussion over on CommunitySolidServer/CommunitySolidServer · Discussions · GitHub to ask about this.