reinstall not working

Bear with me on this, please…

I recently updated my internal IP addresses to 192.168.73.* as I would randomly find myself connected to my neighbour’s network.

Since I did this I have been unable to get PlexConnect to work (and it was working properly before. My setup is a little complicated…

I use a Tomato USB router to DNSMASQ trailers.apple.com to 192.168.73.4:
address=/trailers.apple.com/192.168.73.4
address=/atv.plexconnect/192.168.73.4

I then host PlexConenct on a QNAP NAS.

Here is my config:
[PlexConnect]
enable_plexgdm = False
ip_pms = 192.168.73.4
port_pms = 32400
enable_dnsserver = False
port_dnsserver = 53
ip_dnsmaster = 192.168.73.1
prevent_atv_update = True
enable_plexconnect_autodetect = False
ip_plexconnect = 192.168.73.4
hosttointercept = trailers.apple.com
port_webserver = 80
enable_webserver_ssl = True
port_ssl = 443
certfile = ./assets/certificates/trailers.pem
allow_gzip_atv = False
allow_gzip_pmslocal = False
allow_gzip_pmsremote = True
loglevel = Normal
logpath = .

Whenever I now try to run PlexConnect I get an error about the webserver:
00:18:18 PlexConnect: ***
00:18:18 PlexConnect: PlexConnect
00:18:18 PlexConnect: Press CTRL-C to shut down.
00:18:18 PlexConnect: ***
00:18:18 PlexConnect: started: 00:18:18
00:18:18 PlexConnect: Version: 0.5-dev-020615
00:18:18 PlexConnect: Python: 2.7.9 (default, Mar 24 2015, 00:42:24)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
00:18:18 PlexConnect: Host OS: linux2
00:18:18 PlexConnect: PILBackgrounds: Is PIL installed? False
00:18:18 PlexConnect: IP_self (from settings): 192.168.73.4
00:18:18 WebServer: started: 00:18:18
00:18:18 WebServer: Failed to connect to HTTP on 192.168.73.4 port 80: [Errno 98] Address already in use
00:18:18 PlexConnect: WebServer not alive. Shutting down.
00:18:18 PlexConnect: Shutting down.
00:18:18 PlexConnect: shutdown
00:18:18 PlexConnect: shutdown

netstat shows the following for port 80:
netstat -ln | grep “:80”
netstat: no support for `AF INET6 (tcp)’ on this system.
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN

This was all working properly before I switched my internal IP address structure, and now I am unsure why it can no longer connect over port 80. Any insights into this would be greatly appreciated.

I have done the certificates install (thought no profile show up in the Apple TV). I’m thinking I should try the iphone configuration utility later to see if that fixes it. Could that be the problem?

Any help would be greatly appreciated.

I guess what I’m asking for is:

  1. any advice on how to diagnose why the port 80 connection is not working.
  2. is it possible to install the certificate using the apple tv if plexconnect is not running?
    -I tried using 192.168.73.4/trailers.cer for adding the certificate through the apple tv, and it doesn’t give any errors, but the profile doesn’t seem to show up
    -should I try 192.168.73.4/share/CACHEDEV_1DATA/.qpkg/PlexConnect-master/assets/certificates/trailers.cer (this would be the full path to the trailers.cer file

Will the plexconnect script run without the apple tv profile or will it give me port 80 error like I am seeing?

PlexConnect on your NAS will run without a cert on your aTV. In fact, it will run without your aTV as well.
Port 80 is the std HTTP port, do you have a webserver running on your NAS? Try to access it using some browser…
Your netstat thing gave you

tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
So there is something listening. Not sure how to get the corresponding task, though…