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

Auto-increment serve port address when in use

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-cli
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: