cancel
Showing results for 
Search instead for 
Did you mean: 

localhost port forwarding

Shivkumar
Super Advisor

localhost port forwarding

Hello,

Our environment is running application on console/admin gui https://127.0.0.1:1234/something.html
As the application is running on different unix servers, i need to check above URL.

I can't access URL https://127.0.0.1:1234/something.html from my laptop as 127.0.0.1 is a localhost ip.

I have SecureCRT client installed on my laptop.

How do i configure port forwarding etc on my SecureCRT client to access https://127.0.0.1:1234/something.html.

Also how to differentiate https://127.0.0.1:1234/something.html coming from which unix server ?

Thanks,
Shiv
3 REPLIES
Steven E. Protter
Exalted Contributor

Re: localhost port forwarding

Shalom Shiv,

Last two sentences, can't be done.

127.0.0.1 is loopback is is occupied by the networking on the local machine.

There is no way you access loopback on a remote machine. The remote machine will need to be configured to run the service on an external IP address.

netstat -an | grep 1234
# On the HP-UX box, see if anything is listening. Please post.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Shivkumar
Super Advisor

Re: localhost port forwarding

Here is output on the remote machine.

$netstat -an|grep 1234
127.0.0.1.1234 *.* 0 0 1298712 0 LISTEN
Jim Walls
Trusted Contributor

Re: localhost port forwarding

Check to see if your application can be configured to listen on something other than Localhost. For example; The CUPS management daemon listens on Localhost:631 by default but there is a configuration item to tell it to listen on an external network port.

E.G.
Listen 0.0.0.0:1234
to listen on all networks or

Listen xxx.yyy.zzz.aaa:1234
to listen on just one address.