Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-20397

[origin_intservice_59]Port forwarding wizard: can "Start All" even though local port is already used (by other process)

XMLWordPrintable

    • Hide

      1. EXEC: make sure the port 8080 is used at local host
      2. ASSERT: [chunchen@F17-CCY daily]$ ps -ef |grep jenkins
      jenkins 971 1 0 Jul27 ? 00:02:14 /etc/alternatives/java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8080 --ajp13Port=8009 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20
      3: EXEC:select a pod which will try to use local port 8080 --> right click 'Port Forwarding' -->click 'Start All'
      4. ASSERT: got below status:
      Name Local Port Remote Port Status
      8080 8080 Started

      Show
      1. EXEC: make sure the port 8080 is used at local host 2. ASSERT: [chunchen@F17-CCY daily] $ ps -ef |grep jenkins jenkins 971 1 0 Jul27 ? 00:02:14 /etc/alternatives/java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8080 --ajp13Port=8009 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20 3: EXEC:select a pod which will try to use local port 8080 --> right click 'Port Forwarding' -->click 'Start All' 4. ASSERT: got below status: Name Local Port Remote Port Status 8080 8080 Started
    • -

      Port forward successfully even if the relevant local port is used by other process.

              Unassigned Unassigned
              cathat_jira Chunyun Chen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: