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> 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