I am running spring boot server on project idx cloud ide, I am not able to access it in the local host url. How do I access it?
You cant just access it from localhost because its running in a cloud workspace, but you can still access it from googles bridge
The IDX editor runs in an iframe in Google Cloud Workstations. The iframe URL is something like:For example, it could be:
https://idx-server-runner-front-1735724573958.cluster-mwrgkbggpvbq6tvtviraw2knqg.cloudworkstations.dev/ide-start?origin=https://idx.google.com
once you get that url you can add the port into it
example
https://{port}-idx-server-runner-front-1735724573958.cluster-mwrgkbggpvbq6tvtviraw2knqg.cloudworkstations.dev
Can you try opening up the url on the public ports panel under the IDX extension?
1 Like
Thank you for sharing how to access localhost running in a cloud workspace
1 Like