admin管理员组

文章数量:1355555

I'm trying to deploy my react app on render and I keep coming across a message saying "No port detected, continuing to scan..." tried creating a .env file and declaring the port on there ands still not worked. Here's a snippet of the message.

react-scripts start

: Project is running at http: / /10.201.144.38/

: webpack output is served from

: Content not from webpack is served from / opt/render/project/src/public

: 404s will fallback to /

Starting the development server...

Done in 11.69s.

==> No open ports detected, continuing to scan...

==> Docs on specifying a port:....

my .env file looks like this.. "const PORT = process.env.PORT || 3000;"

I'm quite new to all this so I dunno where exactly I'm going wrong, with the port declaration in particular because I know I'm definitely doing something wrong.

本文标签: reactjsNo ports detected message on react app deploymentStack Overflow