R
Railwayβ€’2mo ago
TheJoker

access from localhost

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. 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?
Solution:
doh, had my env file in wrong directory locally. Works fine now πŸ™‚
Jump to solution
8 Replies
Percy
Percyβ€’2mo ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
Percy
Percyβ€’2mo ago
No project ID was provided. Closing thread.
TheJoker
TheJokerOPβ€’2mo ago
n/a
Brody
Brodyβ€’2mo ago
why can't you access the public url of the pocketbase service? I see no reason why you shouldn't be able to.
Duchess
Duchessβ€’2mo ago
New reply sent from Help Station thread:
@brody most public url for most services are not working
You're seeing this because this thread has been automatically linked to the Help Station thread.
Brody
Brodyβ€’2mo ago
Unfortunately "not working" is not helpful, please provide actual error messages and links to the domains in question.
TheJoker
TheJokerOPβ€’2mo ago
Yea, let me have a look and update if needed
Solution
TheJoker
TheJokerβ€’2mo ago
doh, had my env file in wrong directory locally. Works fine now πŸ™‚
Want results from more Discord servers?
Add your server