At work at the moment, so I will do most from memory, with a little bit of ssh.....
Server is 192.168.1.104 (Ubuntu Server 12.04 LTS, running on an HP Microserver with a weedy CPU Athlon N36L)
aTV is 192.168.1.17 (I think)
Log (hope this is the right one)....../usr/local/bin/PlexConnect-master/PlexConnect.log
00:01:30 WebServer: started: 00:01:30
00:01:30 WebServer: ***
00:01:30 WebServer: WebServer: Serving HTTP on 192.168.1.104 port 80.
00:01:30 WebServer: ***
00:01:30 WebServer: started: 00:01:30
00:01:30 WebServer: ***
00:01:30 WebServer: WebServer: Serving HTTPS on 192.168.1.104 port 443.
00:01:30 WebServer: ***
00:07:53 PlexAPI: ***
00:07:53 PlexAPI: looking up Plex Media Server
00:07:53 PlexAPI: ***
00:07:54 PlexAPI: GDM: Servers discovered: 1
00:07:54 PlexAPI: Servers (local+MyPlex): 1
20:29:56 PlexAPI: ***
20:29:56 PlexAPI: looking up Plex Media Server
20:29:56 PlexAPI: ***
20:29:57 PlexAPI: GDM: No servers discovered
20:29:57 PlexAPI: Servers (local+MyPlex): 0
20:43:47 PlexAPI: ***
20:43:47 PlexAPI: looking up Plex Media Server
20:43:47 PlexAPI: ***
20:43:48 PlexAPI: GDM: No servers discovered
20:43:48 PlexAPI: Servers (local+MyPlex): 0
Here is Settings.cfg:
[PlexConnect]
port_pms = 32400
port_webserver = 80
ip_plexconnect = 192.168.1.104
certfile = ./assets/certificates/trailers.pem
ip_dnsmaster = 192.168.1.1
loglevel = Normal
enable_dnsserver = True
logpath = .
ip_pms = 192.168.178.10
enable_plexgdm = True
hosttointercept = trailers.apple.com
port_ssl = 443
enable_webserver_ssl = True
prevent_atv_update = True
port_dnsserver = 53
enable_plexconnect_autodetect = True
So it looks like PlexConnect isn't finding my PMS - which is weird since they're on the same machine, and from earlier discussions (in this thread) I shouldn't have to manually specify ip_pms.
If I change enable_plexgdm to False, and specify ip_pms manually (i.e. 192.168.1.104) - this is what happens......
sudo service plexconnect stop
sudo vi Settings.cfg (make changes)
sudo service plexconnect start
Now PlexConnect.log:
17:26:20 PlexConnect: started: 17:26:20
17:26:20 PlexConnect: IP_self: 192.168.1.104
17:26:20 DNSServer: started: 17:26:20
17:26:20 DNSServer: ***
17:26:20 DNSServer: DNSServer: Serving DNS on 192.168.1.104 port 53.
17:26:20 DNSServer: ***
17:26:20 WebServer: started: 17:26:20
17:26:20 WebServer: ***
17:26:20 WebServer: WebServer: Serving HTTP on 192.168.1.104 port 80.
17:26:20 WebServer: ***
17:26:20 WebServer: started: 17:26:20
17:26:20 WebServer: ***
17:26:20 WebServer: WebServer: Serving HTTPS on 192.168.1.104 port 443.
17:26:20 WebServer: ***
17:31:27 PlexAPI: Servers (local+MyPlex): 1
And everything is now working, with the firewall definitely UP! :-) Had to get the missus to do this remotely!
I'm still not sure what would happen if I took the firewall down and brought it back up - it might kill any existing connections, so this might be why it's been a bit hit or miss.
Cheers, Jon