If you are like me and run PeopleSoft applications on your personal machine, there are times where you might want to share a feature or functionality that you have developed on the local instance to a user that is not on the LAN. A popular solution for exposing local web apps over a public endpoint is Ngrok. I found that the free tier of Ngrok is usable for exposing a local PeopleSoft instance to the public, but it poses some limitations around the amount of connections per minute that makes it challenging to use at times. I found several Ngrok alternatives online and one particularly interesting one was Inlets. Inlets does not pose any sort of limitations, but it does require you to run your own “exit node”. In this post I will demonstrate how to host an Inlets exit node for free using Heroku that will allow for your local PeopleSoft application to be accessed publicly.
Create Heroku Account
If you do not already have a Heroku account, then you will need to create one here.
Deploy to Heroku
You can automatically setup the Heroku instance of the Inlets exit node by clicking the deploy button below.
You will need to provide a name for the app. The name of the app will be used in the public URL that tunnels to your localhost. The URL format will be
<APP_NAME>.herokuapp.com. In this example I will name the app
Click the Deploy app button and the deployment process will create a shared secret key that will be used to secure the tunnel link. This key will need to be used on the host node (PeopleSoft) to be able to successfully connect.
Obtaining the Secret Key
After the deployment process completes, you will need to obtain the secret key that was generated during deployment. Navigate to the settings tab of the deployed app and click the
Reveal Config Vars button.
Copy the value of the
TOKEN variable to your clipboard. This value will be used in the next step.
Run the Inlets Client
The Inlets project offers a client application to be invoked on the host node to be able to connect to the exit node. This will allow for the public Heroku URL to be routed to your local PeopleSoft application. Download the client that is appropriate for your PeopleSoft application operating system.
Run the client specifying the following parameters:
- remote - Heroku URL where your exit node is running prefixed with “wss://”. Example
- token - Shared secret key that was obtained the previous step.
- upstream - IP address and port number to the local PeopleSoft PIA. Example:
Here is an example command to run the client on from a Windows PeopleSoft environment:
inlets client --remote wss://ps-inlet.herokuapp.com --token 67770ad403322c281e32ea340b97811ced532c4584951e0c2e20c3ef28d2879a --upstream http://127.0.0.1:8000
This will create the connection tunnel from the Heroku URL to your localhost. You should see output similar to the following:
2020/05/11 18:55:01 Welcome to inlets.dev! Find out more at https://github.com/inlets/inlets 2020/05/11 18:55:01 Starting client - version 2.6.3 2020/05/11 18:55:01 Upstream: => http://127.0.0.1:8000 2020/05/11 18:55:01 Token: "67770ad403322c281e32ea340b97811ced532c4584951e0c2e20c3ef28d2879a" time="2020-05-11T18:55:01-05:00" level=info msg="Connecting to proxy" url="wss://ps-inlet.herokuapp.com/tunnel"
Now you can access your local PeopleSoft instance by pointing your browser to the public Heroku app URL (
Simply exit the Inlets client when you are ready to close the connection tunnel.
Leave a comment
Your email address will not be published. Required fields are marked *