-
Notifications
You must be signed in to change notification settings - Fork 624
Port ### already in use
PlexConnect launches two services by default:
- DNS - intercepts DNS requests from ATV, routes
trailers
requests to the WebServer and the rest to a real DNS (ip_pms=
parameter inSettings.cfg
). This service requires port 53 (by default) - WebServer - receives
trailers
requests from ATV and processes them. This service requires ports 80 and 443 (by default)
If you install PlexConnect in a device where another service is listening to any of these ports, PlexConnect will not start with the default parameters. One possible (and simple) solution is to install a docker version of PlexConnect (such as https://hub.docker.com/r/izzno/plexconnect/) so that you don't have port conflicts, but there are other options:
A DNS server is already running. You have two options:
- If you don't need this DNS service, then disable it (in Ubuntu check this for specific information about dnsmasq and how to disable it)
- If you need it, then parametrize it to route
trailers.apple.com
andatv.plexconnect
to the IP where PlexConnect is listening, and disable PlexConnect's DNS service (using theenable_dnsserver = False
parameter inSettings.cfg
)
If a program is already using port 80 (or ports 80 and 443) there are three options:
- Disable it
- Run it on different ports
- Run PlexConnect's WebService on different ports (such as 81/444) and establish reverse proxy rules
To identify which programs are using these ports you need to open a command line and give one of these commands:
- Windows
netstat
- Linux, OSX and NAS
lsof -i -P
These are likely candidates:
- WWW Publishing Service (Windows 10)
- Web server, including Internet sharing (OSX, Windows, Linux, NAS)
- IIS (Windows)
- Web management UI (NAS)
- Apache
- Nginx
- Skype
Some of these programs can be disabled, others (such as NAS web UI's) can be parametrized to use different ports, but when Apache or Ngingx are used it's often necessary to establish reverse proxy rules (configuration samples included in /support folder).
[Return to Install Guide] (https://github.com/iBaa/PlexConnect/wiki/Install-Guide)
© 2013 PlexConnect Team
© 2020 PlexConnect Team