Wiki Navigation
- Loading...
Overview
How to configure your firewall settings for MediaPortal if you use a 3rd party firewall or require remote access.
Open Ports in Windows Firewall
MediaPortal should be allowed full network access in the firewall especially for TV-Server, but also for other actions which require internet access, such as updating Movie Scripts (grabbers), downloading artist and album images from Last.fm or when using extensions that access the net.
If you use Windows Firewall in Windows 7, you should not need to open any ports manually for normal operation.
During installation, the Installer - Deploy Tool will automatically attempt to configure the Windows Firewall as follows:
- full network access for "tvservice.exe" (port 31456)
- full network access for "setuptv.exe"
- full network access for "mediaportal.exe"
- port 1433 (TCP) and 1434 (UDP) for MSSQL
- port 3306 (TCP) for MySQL
Other Firewalls
If you're using a 3rd party firewall you must configure it manually to open the same ports.
Note: In Windows XP, make sure 'File and Printer sharing" are enabled for the TV-Server computer, otherwise the client won't be able to connect properly.
If you need to connect to the TV-Server from another network (like through the Internet), ports 554 and 31456 (both TCP) should be forwarded and/or allowed to pass through your firewall.
MediaPortal might be slow and sluggish if the client cannot communicate with the database. Be sure to allow the following files to communicate through the firewall:
MSSQL
- C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\Binn\sqlservr.exe
- C:\Program Files (x86)\Microsoft SQL Server\90\Shared\sqlbrowser.exe
MySQL
- Path varies depending on Operating System and SQL Server version.
Command Line Script (Windows 7 and 8)
You may add rules to enable firewall ports via the Command prompt. Press the Windows key, type
cmd
and press Ctrl + Shift + Enter to run as administrator. Then copy and paste the following commands:
netsh advfirewall firewall add rule name =TvService dir=in action=allow program="%programfiles(x86)%\Team MediaPortal\MediaPortal TV Server\TvService.exe" enable=yes netsh advfirewall firewall add rule name =TvService dir=out action=allow program="%programfiles(x86)%\Team MediaPortal\MediaPortal TV Server\TvService.exe" enable=yes netsh advfirewall firewall add rule name =SetupTV dir=in action=allow program="%programfiles(x86)%\Team MediaPortal\MediaPortal TV Server\SetupTV.exe" enable=yes netsh advfirewall firewall add rule name =SetupTV dir=out action=allow program="%programfiles(x86)%\Team MediaPortal\MediaPortal TV Server\SetupTV.exe" enable=yes netsh advfirewall firewall add rule name =Mediaportal dir=in action=allow program="%programfiles(x86)%\Team MediaPortal\MediaPortal\Mediaportal.exe" enable=yes netsh advfirewall firewall add rule name =Mediaportal dir=out action=allow program="%programfiles(x86)%\Team MediaPortal\MediaPortal\Mediaportal.exe" enable=yes netsh advfirewall firewall add rule name =SQLBROWSER dir=in action=allow program="%programfiles(x86)%\Microsoft SQL Server\90\Shared\sqlbrowser.exe" enable=yes netsh advfirewall firewall add rule name =SQLBROWSER dir=out action=allow program="%programfiles(x86)%\Microsoft SQL Server\90\Shared\sqlbrowser.exe" enable=yes netsh advfirewall firewall add rule name =SQLSERVR dir=out action=allow program="%programfiles%\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\Binn\sqlservr.exe" enable=yes netsh advfirewall firewall add rule name =SQLSERVR dir=in action=allow program="%programfiles%\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\Binn\sqlservr.exe" enable=yes netsh advfirewall firewall add rule name=SQLPort_1433 dir=out action=allow protocol=TCP localport=1433 netsh advfirewall firewall add rule name=SQLPort_1434 dir=out action=allow protocol=UDP localport=1434 netsh advfirewall firewall add rule name=SQLPort_3306 dir=out action=allow protocol=TCP localport=3306 netsh advfirewall firewall add rule name=SQLPort_554 dir=out action=allow protocol=UDP localport=554 netsh advfirewall firewall add rule name=SQLPort_554 dir=out action=allow protocol=TCP localport=554 netsh advfirewall firewall add rule name=SQLPort_31254 dir=out action=allow protocol=TCP localport=31254 netsh advfirewall firewall add rule name=SQLPort_31254 dir=out action=allow protocol=UDP localport=31254 netsh advfirewall firewall add rule name=SQLPort_31456 dir=out action=allow protocol=TCP localport=31456 netsh advfirewall firewall add rule name=SQLPort_1433 dir=in action=allow protocol=TCP localport=1433 netsh advfirewall firewall add rule name=SQLPort_1434 dir=in action=allow protocol=UDP localport=1434 netsh advfirewall firewall add rule name=SQLPort_3306 dir=in action=allow protocol=TCP localport=3306 netsh advfirewall firewall add rule name=SQLPort_554 dir=in action=allow protocol=UDP localport=554 netsh advfirewall firewall add rule name=SQLPort_554 dir=in action=allow protocol=TCP localport=554 netsh advfirewall firewall add rule name=SQLPort_31254 dir=in action=allow protocol=TCP localport=31254 netsh advfirewall firewall add rule name=SQLPort_31254 dir=in action=allow protocol=UDP localport=31254 netsh advfirewall firewall add rule name=SQLPort_31456 dir=in action=allow protocol=TCP localport=31456
Related
This page has no comments.