I'd like to ask you some questions about the deployment of the react project.

execute serve-s locally after executing npm run build locally. Transfer the build file to Ali Cloud via localhost access, and then execute serve-s in the build file.
finally shows that the deployment is successful

.

but it cannot be accessed through private ip172.17.42.98:5000, nor through public ip:47.95.0.40:5000, and the connection timeout is shown after input! Can you help

?
Mar.02,2021

this is not the problem with react. It may be that your firewall does not open this port


check whether port 5000 is open via telnet 47.95.0.40 5000 .


has been encountered before. You need to open the instance in Ali Cloud Management and configure the ports that can be accessed by the public network. At that time, it will not take effect until you restart it.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b22513-2b610.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b22513-2b610.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?