Issues related to the deployment of vuecli3 on Ali Cloud

problem description

Ladies and Gentlemen, after I have deployed vuecli3 on the ubuntu system of Ali CVM, how can I call up this initial interface? I can use the local environment through localhost:8080, but I can"t enter my server address 123.56.167.74localhost:8080 8080 on the CVM. What"s going on? Also, how can I call up the project manager interface of vuecli3?

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?


A few steps should solve your problem.

first step

check your firewall settings to see if port 8080 is available. If pass. Skip

step 2

check port binding. If your port 8080 is bound to localhost, it is not possible to use external network access. I'll give you a plan for checking

netstat -tunlp | grep 

Please change your monitor to

if you find 127.0.0.1 localhost:8000, 8000 or localhost:8000,
.
0.0.0.0:8000

step 3

if none of the above works, see if it's because of your project. The path and so on must be confirmed clearly. In the simplest form, just test it with an index.html.

Menu