question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: listen EADDRINUSE :::53703

See original GitHub issue

Description: when running ionic serve or ionic lab I get the underline error.

Output: ionic-app-scripts serve --address 0.0.0.0 --port 8101 --livereload-port 35730 --dev-logger-port 53703 --nobrowser [app-scripts] [11:32:39] ionic-app-scripts 3.1.10 [app-scripts] [11:32:39] watch started … [app-scripts] [11:32:39] build dev started … [app-scripts] events.js:183 [app-scripts] throw er; // Unhandled ‘error’ event [app-scripts] ^ [app-scripts] [app-scripts] Error: listen EADDRINUSE :::53703 [app-scripts] at Object._errnoException (util.js:992:11) [app-scripts] at _exceptionWithHostPort (util.js:1014:20) [app-scripts] at Server.setupListenHandle [as _listen2] (net.js:1355:14) [app-scripts] at listenInCluster (net.js:1396:12) [app-scripts] at Server.listen (net.js:1480:7) [app-scripts] at new WebSocketServer (C:\Users\ashrf\Desktop\Midany\MidanyApp\node_modules\ws\lib\WebSocketServer.js:77:20) [app-scripts] at Object.createNotificationServer (C:\Users\ashrf\Desktop\Midany\MidanyApp\node_modules@ionic\app-scripts\dist\dev-server\notification-server.js:66:15) [app-scripts] at C:\Users\ashrf\Desktop\Midany\MidanyApp\node_modules@ionic\app-scripts\dist\serve.js:58:31 [app-scripts] at <anonymous> [app-scripts] at process._tickCallback (internal/process/next_tick.js:188:7)

[ERROR] A utility CLI has unexpectedly closed.

    The Ionic CLI will exit. Please check any output above for error details.

My ionic info:

Ionic:

ionic (Ionic CLI) : 4.0.1 (C:\Users\ashrf\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : ionic-angular 3.9.2 @ionic/app-scripts : 3.1.10

Cordova:

cordova (Cordova CLI) : not installed Cordova Platforms : none

System:

NodeJS : v8.11.3 (C:\Program Files\nodejs\node.exe) npm : 6.1.0 OS : Windows 10

Environment:

ANDROID_HOME : not set

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
sachingarg05commented, Jul 29, 2018

Check if you had another instance of ionic serve already running on your computer, it seems like the port number was already in use, most likely by a previous instance of ionic serve.

If you are still getting this error when no other ionic serve instance is running, try after restarting your computer. Maybe the new cli is not completely closing a running ionic serve instance.

0reactions
enigma49commented, Aug 10, 2018

@dwieeb I wrote the originally in ionic3 can you tell me how I can run it in ionic 4?

Read more comments on GitHub >

github_iconTop Results From Across the Web

v4: ionic serve Error: listen EADDRINUSE :::53703 #3368
Steps to Reproduce: Run ionic serve using CLI v4rc11 in a Ionic 3 Project; Stop the serve command (CTRL+C); Run ionic serve again....
Read more >
Error: listen EADDRINUSE 0.0.0.0:53703 - Serve to the ...
The Ionic live reload server exited unexpectedly Error in the Ionic live reload server: Error: listen EADDRINUSE 0.0.0.0:53703. launch.json
Read more >
Node / Express: EADDRINUSE, Address already in use - Kill ...
My issues was that I had two app.listen(3000); calls in the same app.js script. The first app.listen() succeeded where the second threw the...
Read more >
ionic3之Error: listen EADDRINUSE :::53703错误-yellowcong
经常遇到这个报错,在此记录一下根据错误提示,Error: listen EADDRINUSE: address already in use 0.0.0.0:80,意思是80端口已经被占用。这时, ...
Read more >
How to fix `listen EACCES: permission denied` on any port
In my case the error appears because the port used belong to reserved ports for Hyper-V. This port range changes when I restart...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found