It is possible to configure stand-alone GMUS servers over a private network by making changes in the /etc/hosts file and adding an entry in the networking device (router). To run the GMUS on the system acting as a server, the following configuration steps are required:
Step 1 - Modify the /etc/hosts file
Within you /etc/host file, make the following modifications:
- Modify your local host line, 127.0.0.1 localhost, to 127.0.0.1 gmus.genrocket.com
- Modify your line forward to your local host, <SYSTEM_IP_ADDRESS> localhost
Note: You don't have to use, gmus.genrocket.com; it's just an example.
Example /etc/host Configuration
Step 2 - Start the GenRocket Realtime Rest Engine
- On the server where you want to run the GMUS, launch a command line terminal
- At the command prompt, launch the secured GMUS with the following command
- genrocket -gmussr <portNumber>
Example Launch of GMUS
The following image show the secured GMUS launch on port 9010.
Step 3 - Test the Connection
Make a rest call via a secured protocol from any server, to the GMUS server. Use the ubiquitous Advanced REST Client application.