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

"cordova serve platformname 9000" as per help does not seem to serve platformname on port 9000

    XMLWordPrintableJSON

    Details

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

      Description

      When executing the following:
      "cordova serve blackberry10 9901"

      The webserver doesn't actually run on port 9901 but rather on the default port "8000". So you can only access your app via http://0.0.0.0:8000/blackberry10/www/index.html

      The following:
      "cordova serve 9901"
      allows one to access http://0.0.0.0:9901/blackberry10/www/index.html

      It seems like this is mostly a bug in the documentation (`cordova help |grep -C1 8000`)

        Attachments

          Activity

            People

            • Assignee:
              agrieve Andrew Grieve
              Reporter:
              jgee Jenny Gee
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: