StableStudio icon indicating copy to clipboard operation
StableStudio copied to clipboard

Not Working When Deployed over cloud server

Open SamarthGhante opened this issue 2 years ago • 6 comments

I deployed this on cloud servers running Ubuntu and everything was working as intended. However, when trying to access http://ServerIP:3000 in the browser, it did not work

SamarthGhante avatar May 21 '23 08:05 SamarthGhante

On which platform you've deployed it and what is the error you're getting?

Aditya-13 avatar May 21 '23 09:05 Aditya-13

On which platform you've deployed it and what is the error you're getting?

I Deployed it on Ubuntu Server Hosted on Microsoft Azure; No Error logs but no application shows up we hit the http://serverip:3000

SamarthGhante avatar May 21 '23 10:05 SamarthGhante

I think we should have a wiki page or something to document how to deploy on various cloud servers, e.g., aws, azure, vercel, etc.

harrywang avatar May 21 '23 12:05 harrywang

same happened to me while visit ip:3000, it works when put a domain and reverse proxy it.

dadaoerv avatar May 22 '23 07:05 dadaoerv

What happens if you build the application and use the compiled dist folder versus trying to run it via yarn dev?

cruhl avatar May 22 '23 20:05 cruhl

What happens if you build the application and use the compiled dist folder versus trying to run it via yarn dev?

Sry for late reply. Same Issue; But Here is a quick fix. Link a domain using reverse proxy services such as (nginx proxy manager) or use tunneling to access the http://serverip:port & it will fix the issue. I don't why, but I think it coded such that it only opens on 127.0.0.1:3000 & it isn't possible when deployed over Cloud Server.

SamarthGhante avatar May 24 '23 11:05 SamarthGhante