[mythtv-users] What iptables ports?

Andrew Robinson awrobinson-ml at nc.rr.com
Tue Apr 3 05:02:27 UTC 2007


Greg Estabrooks wrote:
>> server. What ports do I need top open in iptables to allow running 
>> MythTV remotely?
> 
> 
>  Well you need at a minimum to be able to reach mysql if it's on that machine which is 3306, and the myth protocol which is 6543. 6544 and 6546 are the telnet and upnp/http interface which you can likely leave blocked from outside your network.
> 

I opened those ports but when I started mythfrontend on the remote 
machine, I get this set of messages over and over:

QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-04-03 00:54:53.523 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-04-03 00:54:53.575 Database not open while trying to load setting: 
TVVidModeWidth0
2007-04-03 00:54:53.577 Unable to connect to database!
2007-04-03 00:54:53.577 Driver error was [1/2003]:
QMYSQL3: Unable to connect
Database error was:
Can't connect to MySQL server on 'muses' (113)

If I kill iptables on the server, mythfrontend seems to work fine on the 
remote machine. Is there another MySQL port I need to open the server or 
is there one I need to open on the client?

Thanks!

Andrew Robinson


More information about the mythtv-users mailing list