INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Is there a way to prevent MC from binding to certain interfaces  (Read 2038 times)

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1252
Is there a way to prevent MC from binding to certain interfaces
« on: November 11, 2021, 01:05:00 pm »

... or tell it to only bind to specific interfaces?

"Options/Media Network/Interfaces to ignore" doesn't seem to do anything and is a bit confusing.   It says interfaces but then (list of network/bits).
My issue is that I have multiple network interfaces, including docker, vpn, etc. and I don't want MC listening on them.  In fact, I don't even want it listening on any interface other than "lo" because all I use it for is MCWS. 

Logged
Fedora 40 x86_64 Xfce

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13931
Re: Is there a way to prevent MC from binding to certain interfaces
« Reply #1 on: November 15, 2021, 05:46:30 pm »

... or tell it to only bind to specific interfaces?

"Options/Media Network/Interfaces to ignore" doesn't seem to do anything and is a bit confusing.   It says interfaces but then (list of network/bits).
My issue is that I have multiple network interfaces, including docker, vpn, etc. and I don't want MC listening on them.  In fact, I don't even want it listening on any interface other than "lo" because all I use it for is MCWS.

It's not a documented option but you can add this to your
User Settings.ini
file under the [DLNA] section:
Bind Only To="127.0.0.1"
Logged

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1252
Re: Is there a way to prevent MC from binding to certain interfaces
« Reply #2 on: November 16, 2021, 07:07:48 am »

It's not a documented option but you can add this to your
User Settings.ini
file under the [DLNA] section:
Bind Only To="127.0.0.1"

Thanks Bob!
Logged
Fedora 40 x86_64 Xfce
Pages: [1]   Go Up