gitpod-io / gitpod

The developer platform for on-demand cloud development environments to create software faster and more securely.
https://www.gitpod.io
GNU Affero General Public License v3.0
12.83k stars 1.23k forks source link

Private IP problem #1078

Closed RasoliDavide closed 3 years ago

RasoliDavide commented 4 years ago

Good morning, I'm having an issue abount IP routing, I'm expecting to get the IP of my internet connection (starts with 151) but this code return a Class A IP address, is there a way to get my personal IP?

router.get('/', function(req, res, next) { let ip = requestIp.getClientIp(req); res.render('index', { title: 'Express', ip : ip }); });

Annotation 2020-01-14 125016

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.