Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

... Uhoh. Got error listen EADDRINUSE, how to properly shutdown app on iOS simulator?

Majdi JaqamanSep 15 2018 — edited Sep 17 2018

Hello,

    I'm getting the following error when deploying the app to an iOS simulator:

... Uhoh. Got error listen EADDRINUSE :::35729 ...

Error: listen EADDRINUSE :::35729

    at Object._errnoException (util.js:1003:13)

    at _exceptionWithHostPort (util.js:1024:20)

    at Server.setupListenHandle [as _listen2] (net.js:1366:14)

    at listenInCluster (net.js:1407:12)

    at Server.listen (net.js:1495:7)

    at Server.listen (/Users/jettest/MyFirstJetApp/node_modules/tiny-lr/src/server.js:264:19)

    at Promise (/Users/jettest/MyFirstJetApp/node_modules/@oracle/oraclejet-tooling/lib/serve/watch.js:63:12)

    at new Promise (<anonymous>)

    at _startLiveReloadServer (/Users/jettest/MyFirstJetApp/node_modules/@oracle/oraclejet-tooling/lib/serve/watch.js:61:10)

    at Promise (/Users/jettest/MyFirstJetApp/node_modules/@oracle/oraclejet-tooling/lib/serve/watch.js:37:7)

You already have a server listening on 35729

You should stop it and try again.

      I understand what the error is and I see some posts regarding a workaround.

     My question is how to properly shutdown an app deployed to a simulator so I can reuse the port?

Regards,

Majdi Jaqaman

Comments
Post Details
Added on Sep 15 2018
2 comments
630 views