Software probe using port 8080
Hi, Is there any way to change the ports that the software probes use? Port 8080 is used by the probe which conflicts with another piece of software I wanted to use. Looking in the processes I saw this: atlas 843 0.0 0.2 50348 5992 ? S 10:15 0:00 /usr/bin/ssh -o ServerAliveInterval 60 -o StrictHostKeyChecking yes -o UserKnownHostsFile /var/atlas-probe/.ssh/known_hosts -R 50948:127.0.0.1:2023 -L 8080:127.0.0.1:8080 -i /var/atlas-probe/etc/probe_key -p 443 atlas@ctr-fsn01.atlas.ripe.net KEEP I had to kill the PID in order to run the other software I need so at present this new software probe is down. I'd like to start it up again but can't unless I can control which port the SSH tunnel is using. Thanks, Pauil.
On 2020/03/13 13:48 , Paul Eagles wrote:
Is there any way to change the ports that the software probes use? Port 8080 is used by the probe which conflicts with another piece of software I wanted to use.
Unfortunately, that is not possible at the moment. I'll look into making this more flexible. Philip
Il giorno ven 13 mar 2020 alle ore 14:45 Philip Homburg < philip.homburg@ripe.net> ha scritto: On 2020/03/13 13:48 , Paul Eagles wrote:
Is there any way to change the ports that the software probes use? Port 8080 is used by the probe which conflicts with another piece of software I wanted to use.
Unfortunately, that is not possible at the moment. I'll look into making
this more flexible.
Hi Paul, you can "bind" your software on port 8080 to a specific address (on loopback or ethX interface) and not to ANY (0.0.0.0). On my software probe: $ netstat -ltpn | grep 8080 tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 2456/ssh tcp6 0 0 ::1:8080 :::* LISTEN 2456/ssh $ nc -l 127.0.0.1 8080 nc: Address already in use $ nc -l 127.0.0.2 8080 ^C $ ssh just binds to 127.0.0.1 and ::1 E. -- | ENRICO ARDIZZONI | Responsabile Ufficio Reti e Sistemi | Università degli Studi di Ferrara
Hi Enrico, An excellent suggestion, I’ll give it a go. Thanks, Paul. From: ripe-atlas <ripe-atlas-bounces@ripe.net> On Behalf Of Enrico Ardizzoni Sent: 13 March 2020 16:57 To: Philip Homburg <philip.homburg@ripe.net> Cc: ripe-atlas@ripe.net Subject: Re: [atlas] Software probe using port 8080 Il giorno ven 13 mar 2020 alle ore 14:45 Philip Homburg <philip.homburg@ripe.net<mailto:philip.homburg@ripe.net>> ha scritto: On 2020/03/13 13:48 , Paul Eagles wrote:
Is there any way to change the ports that the software probes use? Port 8080 is used by the probe which conflicts with another piece of software I wanted to use.
Unfortunately, that is not possible at the moment. I'll look into making this more flexible. Hi Paul, you can "bind" your software on port 8080 to a specific address (on loopback or ethX interface) and not to ANY (0.0.0.0). On my software probe: $ netstat -ltpn | grep 8080 tcp 0 0 127.0.0.1:8080<http://127.0.0.1:8080> 0.0.0.0:* LISTEN 2456/ssh tcp6 0 0 ::1:8080 :::* LISTEN 2456/ssh $ nc -l 127.0.0.1 8080 nc: Address already in use $ nc -l 127.0.0.2 8080 ^C $ ssh just binds to 127.0.0.1 and ::1 E. -- | ENRICO ARDIZZONI | Responsabile Ufficio Reti e Sistemi | Università degli Studi di Ferrara
participants (3)
-
Enrico Ardizzoni
-
Paul Eagles
-
Philip Homburg