E2B icon indicating copy to clipboard operation
E2B copied to clipboard

Internet access

Open daxian-lh opened this issue 2 months ago • 2 comments

I have a backend code port of 8000 and a frontend code port of 3000. They are running in the same sandbox, but the frontend and backend cannot communicate. Is there any solution?

Image

in front-end settings REACT_APP_API_URL=http://localhost:8000

In the actual output sandbox, the URLs corresponding to the two ports do not start with localhost. How can I modify the code so that the normal localhost corresponding addresses can be output in the sandbox?

daxian-lh avatar Oct 16 '25 08:10 daxian-lh

ENG-3192

linear[bot] avatar Oct 16 '25 08:10 linear[bot]

Hey @daxian-lh, because the frontend runs in your browser, in order to communicate with the backend you need to pass your public backend URL to it.

mishushakov avatar Oct 24 '25 09:10 mishushakov

I am closing this issue as no next steps required from our side.

mishushakov avatar Dec 01 '25 11:12 mishushakov