Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Accepted Answer
Hi there,
Your server configuration looks good!
The only change that you need to make is for React app to connect to http://your_ip/server rather than localhost:5000.
That way the Nginx proxy will forward the traffic from the /server endpoint to the service that is running on port 5000.
Let me know how it goes! Regards, Bobby
The error message “net::ERR_CONNECTION_REFUSED” typically means that your web browser is unable to establish a connection with the server running your application. There could be a number of reasons why this is happening, but here are a few things you can check:
Make sure that your application is actually running on port 5000. You can do this by checking the command you used to start the application, or by running a command like “netstat -an | grep 5000” to see if any processes are listening on that port.
If your application is running but you’re still seeing the error, try accessing it from a different browser or device to see if the problem is specific to your current setup.
Check your firewall settings to ensure that they are not blocking incoming traffic on localhost:5000.
Make sure that the URL you’re using to access your application is correct, including any necessary prefixes (e.g. “http://” or “https://”).
If none of these solutions work, there may be a more specific issue with your application or server setup that requires further investigation.