As shown in the picture, after searching for a long time, I still can’t solve it. Why does it keep failing? I'm a noob, please give me some answers.
Additional: After looking at the port occupancy, why are there two?
走同样的路,发现不同的人生
The first 8080 is used, The second one requires elevated privileges.
Generally, as long as the port is not in use, it can be bound.
Supplement:The mac system will install apache by default and run port 8080.
Is nginx already started? If you start it again, there will be a conflict. reload
Ports below 1024 require root permissions, change 1001 to a port greater than 1024
The first 8080 is used,
The second one requires elevated privileges.
Generally, as long as the port is not in use, it can be bound.
Supplement:
The mac system will install apache by default and run port 8080.
Is nginx already started? If you start it again, there will be a conflict. reload
Ports below 1024 require root permissions, change 1001 to a port greater than 1024