Passageway – Expose Localhost to Public

                       Smart Techie

                   When we are working on REST APIs there are situations where you may require to expose the APIs to public or If you are working with any social source integration where we need to configure callback URLs, we require to host our APIs onto the public ip address. Getting the public ip from the network department is a tedious process(Requires tickets, approvals and followups). Here is a tool called “Passageway” (from Runscope) which will  allow us to expose the localhost to public. Follow the below steps to setup Passageway.

Step1: Create an account with https://www.runscope.com/signup

Step2: Login to “Runscope” and create bucket.

Create Bucket

Step 3: Download the “Passageway” from here. The “Passageway” agents are available for different operating systems.

Step 4: Open the command prompt and run the “Passageway” agent as shown below.

Run Passageway

Step 5: Then, it will prompt to select the “bucket” which we created in Step2 and the port number for which the “Passageway” will route the requests on to our localhost. After providing the details, “Passageway” will provide us the forward URL which will be accessible from public.

Passageway Forward URL

          We are done. Now, we can expose the APIs running on the localhost to public. Use the base URL provided by “Passgeway” and append your URI to that. When we make request to “Passageway”, the request will be forwarded to localhost on the registered port(Port is provided in Step5) through “Passageway”.

Advertisements

I am Siva Prasad Rao Janapati. Working as a software developer. Has hands on experience on ATG Commerce(DAS/DPS/DCS), Mozu commerce, Broadleaf Commerce, Java, JEE, Spring, Play, JPA, Hibernate, Velocity, JMS, Jboss, Weblogic,Tomcat, Jetty, Apache, Apache Solr, Spring Batch, JQuery, NodeJS, SOAP, REST, MySQL, Oracle, Mongo DB, Memcached, HazelCast, Git, SVN, CVS, Ant, Maven, Gradle, Amazon Web services, Rackspace, Quartz, JMeter, Junit, Open NLP, Facebook Graph,Twitter4J, YouTube Gdata, Bazzarvoice,Yotpo, 4-Tell, Alatest, Shopzilla, Linkshare. I have hands on experience on open sources and commercial technologies.

Tagged with: , ,
Posted in Miscellaneous
One comment on “Passageway – Expose Localhost to Public
  1. autumnator says:

    Interesting, nice. Too bad it’s not free? 😦

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

DZone

DZone MVB

Java Code Geeks
Java Code Geeks
%d bloggers like this: