OSC address keeps changing.

Questions and issues concerning LXConsole (MacOS)
Johan Söderberg
Posts: 24
Joined: Wed Feb 23, 2022 6:22 pm
Location: Malmö, Sweden
Contact:

OSC address keeps changing.

Postby Johan Söderberg » Fri Jul 18, 2025 1:43 pm

Using Touch osc sending and receiving on two specific ip numbers, works a charm.
BUT Lxconsole keeps changing its input address after a few minutes, thus killing the connection.

I set it to the preferred 192.168.x.x in my own brought along wifi. But after a while it has changed to 10.90.x.x.
Pretty annoying to notice every second time you've climbed up a ladder.

Can this be prevented somehow?

skärmbild 2025-07-18 kl. 15.41.16.jpg
skärmbild 2025-07-18 kl. 15.41.16.jpg (77.33 KiB) Viewed 694 times

admin
Site Admin
Posts: 315
Joined: Mon Nov 20, 2017 4:31 pm

Re: OSC address keeps changing.

Postby admin » Fri Jul 18, 2025 3:00 pm

Try "Any Interface".

It is likely that your WiFi connection comes and goes.

When there is a network change and LXConsole cannot find the connection it is set to, it will try another active, non-local network. It does not do this if it is set to "Any Interface". The only reason not to use "Any Interface" and to bind to a particular address is if you want to exclude OSC from a network and only listen to a particular network.

Johan Söderberg
Posts: 24
Joined: Wed Feb 23, 2022 6:22 pm
Location: Malmö, Sweden
Contact:

Re: OSC address keeps changing.

Postby Johan Söderberg » Sat Jul 19, 2025 2:31 am

No that wifi doesn't come an go.
At least my phone and iPad running touchOSC have no problems staying connected, seemingly no matter where I go.
I checked yesterday and the connection was OK until I was 20 meters from my hotel (200 meters from the theatre). The router is standing next to my laptop in the theatre and continuously LXConsole in that laptop (2 m. from the router) changes address, even though the network couldnt possibly be stronger according to the internet prefs in that very same laptop.

And yes: to
exclude OSC from a network and only listen to a particular network.
is exactly what I was aiming to do.
For no better reason than I got fed up fiddling with ip-settings, so I bought the best router I could find and always bring it along.

If I use "any interface" then do I need to edit in my phone/iPad the send and receive addresses or will the settings I've done work as long as there is a connection?

admin
Site Admin
Posts: 315
Joined: Mon Nov 20, 2017 4:31 pm

Re: OSC address keeps changing.

Postby admin » Sat Jul 19, 2025 10:23 pm

"Any Address" listens on any available interface (address) for messages sent to the specified port. Your iPhone/iPad need to send to one of the addresses of the Mac. But the Mac can listen on "Any Address"

Note that 127.0.0.1 is a local address to the computer. So don't try to send from the phone/iPad to that one.

LXConsole checks for the specified address anytime there is a change to the computer's network connections or the application starts. It only replaces the specified connection if it is not connected at the time the check is made.