Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

General form

run_SimpleCORBATimeServer <naming server host machine> [<-proxyid:public IP address>] [<-serverid:id for your server>]

Two points to observe

  1. if you do not specify the -serverid: param, the default name used in the naming service is "TimeServer"
  2. if you do not specify the -proxyid: param, the server is not visible to the outside world, ie. outside of your local network

Example commands

run_SimpleCORBATimeServer

Try this option first, it will ensure that everything is running locally using all the defaults.

This command will attach your server to a naming service running on the local machine and register it with the default id "TimeServer", but your service is not visible to outside world.

run_SimpleCORBATimeServer -instances:2

This option will start two clocks each with a unique that is displayed in the command window

run_SimpleCORBATimeServer 127.0.0.1 -serverid:selvyns_time_service

This command will attach your server to a naming service running on the local machine and register it with the unique id "selvyns_time_service", but your service is not visible to outside world.

run_SimpleCORBATimeServer 52.33.145.52 -serverid:selvyns_time_service

This command will attach your server to a naming service on IP 52.33.145.52 and register it with the unique id "selvyns_time_service", but your service is not visible to outside world.

run_SimpleCORBATimeServer localhost -proxyid:52.24.124.224

This command will attach your server to a naming service running on the local machine IP 127.0.0.1 and make it visible to the outside world by allowing IP requests at its public IP 52.24.124.224 to be forwarded to it.

run_SimpleCORBATimeServer localhost -proxyid:52.24.124.224 -serverid:a_time_service

This command will attach your server to a naming service the local machine on IP 127.0.0.1 and make it visible to the outside world by allowing IP requests at its public IP 52.24.124.224 to be forwarded to it, it will be registered in the naming server as "a_time_service".

  • No labels