Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Frontend control socket 6547 bind issue

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


mythtv-users-mail at alintech

Apr 28, 2012, 1:13 AM

Post #1 of 6 (558 views)
Permalink
Frontend control socket 6547 bind issue

Hi all,

I'm having an issue connecting to the Mythtv frontend control socket
(default port 6547) after upgrading to 0.25. I have a feeling it may be
because it is bound to localhost.

wilson [at] t:~$ netstat -an | grep LISTEN
tcp 0 0 0.0.0.0:43469 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6543 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6544 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6546 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6547 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:52044 0.0.0.0:* LISTEN
...

Is there any way to configure what interface it binds to (preferably all).

Thanks.

--
Wilson Waters
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


icicimov at gmail

Apr 28, 2012, 1:50 AM

Post #2 of 6 (543 views)
Permalink
Re: Frontend control socket 6547 bind issue [In reply to]

Usually you get that if you put 0.0.0.0 for ip.
On Apr 28, 2012 6:14 PM, "Wilson Waters" <mythtv-users-mail [at] alintech>
wrote:

> Hi all,
>
> I'm having an issue connecting to the Mythtv frontend control socket
> (default port 6547) after upgrading to 0.25. I have a feeling it may be
> because it is bound to localhost.
>
> wilson [at] t:~$ netstat -an | grep LISTEN
> tcp 0 0 0.0.0.0:43469 0.0.0.0:* LISTEN
> tcp 0 0 127.0.0.1:6543 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
> tcp 0 0 127.0.0.1:6544 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
> tcp 0 0 127.0.0.1:6546 0.0.0.0:* LISTEN
> tcp 0 0 127.0.0.1:6547 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
> tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:52044 0.0.0.0:* LISTEN
> ...
>
> Is there any way to configure what interface it binds to (preferably all).
>
> Thanks.
>
> --
> Wilson Waters
> ______________________________**_________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/**listinfo/mythtv-users<http://www.mythtv.org/mailman/listinfo/mythtv-users>
>


mythtv-users-mail at alintech

Apr 28, 2012, 1:55 AM

Post #3 of 6 (544 views)
Permalink
Re: Frontend control socket 6547 bind issue [In reply to]

Yea, but is there a way to configure that through the Mythtv config
pages? I can only see a port setting under Setup->General->RemoteControl

Cheers.

On 28/04/2012 4:50 PM, Igor Cicimov wrote:
> Usually you get that if you put 0.0.0.0 for ip.
>
> On Apr 28, 2012 6:14 PM, "Wilson Waters"
> <mythtv-users-mail [at] alintech
> <mailto:mythtv-users-mail [at] alintech>> wrote:
>
> Hi all,
>
> I'm having an issue connecting to the Mythtv frontend control socket
> (default port 6547) after upgrading to 0.25. I have a feeling it may
> be because it is bound to localhost.
>
> wilson [at] t:~$ netstat -an | grep LISTEN
> tcp 0 0 0.0.0.0:43469 <http://0.0.0.0:43469>
> 0.0.0.0:* LISTEN
> tcp 0 0 127.0.0.1:6543 <http://127.0.0.1:6543>
> 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:111 <http://0.0.0.0:111>
> 0.0.0.0:* LISTEN
> tcp 0 0 127.0.0.1:6544 <http://127.0.0.1:6544>
> 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:80 <http://0.0.0.0:80>
> 0.0.0.0:* LISTEN
> tcp 0 0 127.0.0.1:6546 <http://127.0.0.1:6546>
> 0.0.0.0:* LISTEN
> tcp 0 0 127.0.0.1:6547 <http://127.0.0.1:6547>
> 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:22 <http://0.0.0.0:22>
> 0.0.0.0:* LISTEN
> tcp 0 0 127.0.0.1:3306 <http://127.0.0.1:3306>
> 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:5900 <http://0.0.0.0:5900>
> 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:52044 <http://0.0.0.0:52044>
> 0.0.0.0:* LISTEN
> ...
>
> Is there any way to configure what interface it binds to (preferably
> all).
>
> Thanks.
>
> --
> Wilson Waters
> _________________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv <mailto:mythtv-users [at] mythtv>
> http://www.mythtv.org/mailman/__listinfo/mythtv-users
> <http://www.mythtv.org/mailman/listinfo/mythtv-users>
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


keemllib at gmail

Apr 28, 2012, 8:39 AM

Post #4 of 6 (527 views)
Permalink
Re: Frontend control socket 6547 bind issue [In reply to]

On 04/28/2012 03:13 AM, Wilson Waters wrote:
> Hi all,
>
> I'm having an issue connecting to the Mythtv frontend control socket (default port 6547) after upgrading to 0.25. I have a feeling it may be
> because it is bound to localhost.
>
> wilson [at] t:~$ netstat -an | grep LISTEN
> tcp 0 0 127.0.0.1:6543 0.0.0.0:* LISTEN
> tcp 0 0 127.0.0.1:6546 0.0.0.0:* LISTEN
> tcp 0 0 127.0.0.1:6547 0.0.0.0:* LISTEN
> tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
...
> Is there any way to configure what interface it binds to (preferably all).

Hi;

In 0.25 the addresses used are what your interface knows about
(look for addresses in ifconfig's output.) The same is true for
both the front and backends.

You can see what either FE/BE is binding to by looking in your
logs. Mine FE looks like:

I [4051/4051] CoreContext serverpool.cpp:306 (listen) - Listening on TCP 127.0.0.1:6547
I [4051/4051] CoreContext serverpool.cpp:306 (listen) - Listening on TCP 192.168.1.123:6547
I [4051/4051] CoreContext serverpool.cpp:306 (listen) - Listening on TCP [::1]:6547

You might want to look at your backend settings too. Are your Local and
Master Backend IP addresses set to 127.0.0.1 rather than what you need?
(Nothing wrong with 127..., you just can't connect to from a remote FE.)

Binding to all doesn't happen anymore for reasons above my pay grade,
however, one of them was the problem with some distributions setting
the bindv6only sysctl to 1, causing those users to loose IPv4 connectivity.

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


jyavenard at gmail

Apr 28, 2012, 7:04 PM

Post #5 of 6 (519 views)
Permalink
Re: Frontend control socket 6547 bind issue [In reply to]

On 28 April 2012 18:13, Wilson Waters <mythtv-users-mail [at] alintech> wrote:
> Hi all,
>
> I'm having an issue connecting to the Mythtv frontend control socket
> (default port 6547) after upgrading to 0.25. I have a feeling it may be
> because it is bound to localhost.

It is...

In 0.25 there's only one network configuration system, and that's the
IP address defined to connect to the backend or the address the
backend listen on.

So if it's listening on 127.0.0.1 only, that's also the interface the
frontend will listen on.

I personally disagree that what the frontend listen on should have
anything to do with how the backend is configured.. but that's another
story

So to get around this, make your backend listend to something else
than 127.0.0.1 ; you do so in mythtv-setup -> General
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mythtv-users-mail at alintech

Apr 29, 2012, 6:32 AM

Post #6 of 6 (511 views)
Permalink
Re: Frontend control socket 6547 bind issue [In reply to]

On 29/04/2012 10:04 AM, Jean-Yves Avenard wrote:
>
> So to get around this, make your backend listend to something else
> than 127.0.0.1 ; you do so in mythtv-setup -> General

This did it. Thanks Jean-Yves.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.