If you are really changing the port, you shouldn't receive the same error. This error generally happens because there is a process already running on this door, if you are using Linux, try fuser -k 8081/tcp, that will kill the process running on that door.
in my case, just remove the 'start React Native Bundler' before launch task.
some other script will start the bundler too, so 8081 port is in use.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.