How to find HTTP of running RVD daemon

How to find HTTP of running RVD daemon

book

Article ID: KB0082276

calendar_today

Updated On:

Products Versions
TIBCO Rendezvous 8.4.2

Description

On occasions - starting rvd without a specified http parameter which results in the http being initiated on an dynamically grabbed http port. If client is unclear which port is chosen.

Issue/Introduction

How to find HTTP of running RVD daemon

Environment

Linux

Resolution

The following is a quick 2 step guide to determing which http port have been chosen.

On a LINUX PLatform  - a standard RVD daemon has been launched against TCP listening port 8188

1. To obtain the process id of the rvd daemon

$netstat -ap | grep 8188
---
tcp        0      0 *:8188                      *:*                         LISTEN      4132/rvd

2. With the process id (4132) query using netstat again

----
[rlucas@koffing ~]$ netstat -anp | grep 4132
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:8188                0.0.0.0:*                   LISTEN      4132/rvd
tcp        0      0 0.0.0.0:35166               0.0.0.0:*                   LISTEN      4132/rvd
----
Here the general rule of thumb is the second TCP listing (35166) will be the http interface value.