access from localhost
rob8624
HOBBYOP

a year ago

Project id: n/a

Hi, I have a Pocketbase instance running on Railway which I am using to store data and access this in a React project by calling the URL of the PB instance, this React project is on another Railway container. All works well.

Now obviously when in my dev environment i cant access the pocketbase url from locahost. Is there anyway I can set it up to accept localhost requests?

6 Replies

rob8624
HOBBYOP

a year ago

n/a


a year ago

why can't you access the public url of the pocketbase service? I see no reason why you shouldn't be able to.


willymwaura
HOBBY

a year ago

@brody most public url for most services are not working


a year ago

Unfortunately "not working" is not helpful, please provide actual error messages and links to the domains in question.


rob8624
HOBBYOP

a year ago

Yea, let me have a look and update if needed


rob8624
HOBBYOP

a year ago

doh, had my env file in wrong directory locally. Works fine now 🙂


Loading...