Question about connecting React with Express in Cloud 9

Hi, just wondering if anyone has experience connecting React with Express backend server in the Cloud 9 environment. I ran into the problem of “Invalid Host Header” error when I start the webpack server running React proxy to the Express server port.

I ended up resolving the issue by using the last recommended method with setting DANGEROUSLY_DISABLE_HOST_CHECK=true in the .env.development.local file from the official Create React App documentation. However they did advise against this. Just wondering if there’s a way to solve this without using this method. Thank you in advance.