Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6030

Auto-increment serve port address when in use

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-cli
    • Labels:
      None

      Description

      cordova serve fails when another instance is already running. It would be nice if the port number automatically incremented.

      Error: listen EADDRINUSE
      at errnoException (net.js:901:11)
      at Server._listen2 (net.js:1039:14)
      at listen (net.js:1061:10)
      at Server.listen (net.js:1127:5)

        Attachments

          Activity

            People

            • Assignee:
              bryanhiggins Bryan Higgins
              Reporter:
              bryanhiggins Bryan Higgins
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: