Plex Server Immediately Shuts Down Upon Open

Not sure what happened. I restarted my Windows 10 computer, and Plex won’t start up at all now. Every time I try to execute the EXE file, it pops up in the system tray for a second, and then disappears.

Server Version#: 1.15.6.1079-78232c603
Player Version#:

Logs:
May 30, 2019 17:26:40.711 [13948] INFO - Plex Media Server v1.15.8.1163-005053bb5 - Microsoft PC x64 - build: windows-x86 windows - GMT -07:00
May 30, 2019 17:26:40.712 [13948] INFO - Windows version: 10.0 (Build 17134), language en-US
May 30, 2019 17:26:40.712 [13948] INFO - 8 3392 MHz processor(s): Architecture=0, Level=6, Revision=10759 Processor Identifier=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
May 30, 2019 17:26:40.713 [13948] DEBUG - “C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe”
May 30, 2019 17:26:40.721 [11884] DEBUG - Plex for Windows Store application is not installed
May 30, 2019 17:26:40.724 [11884] DEBUG - BPQ: [Idle] -> [Starting]
May 30, 2019 17:26:40.727 [11884] DEBUG - FeatureManager: Using cached data for features list
May 30, 2019 17:26:40.728 [11884] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.26.0, threadsafe=1
May 30, 2019 17:26:40.737 [11884] INFO - SQLITE3:0x6785eff9, 283, recovered 933 frames from WAL file C:\Users\Anthony\AppData\Local\Plex Media Server\Plug-in Support\Databases\com.plexapp.plugins.library.db-wal
May 30, 2019 17:26:40.794 [11884] DEBUG - Running migrations. (EPG 0)
May 30, 2019 17:26:40.818 [11884] DEBUG - ChangestampAllocator: initialized to 582463
May 30, 2019 17:26:40.819 [11884] DEBUG - Opening 2 database sessions to library (com.plexapp.plugins.library.blobs), SQLite 3.26.0, threadsafe=1
May 30, 2019 17:26:40.821 [11884] INFO - SQLITE3:0x6785eff9, 283, recovered 164 frames from WAL file C:\Users\Anthony\AppData\Local\Plex Media Server\Plug-in Support\Databases\com.plexapp.plugins.library.blobs.db-wal
May 30, 2019 17:26:40.826 [11884] DEBUG - Running migrations. (EPG 0)
May 30, 2019 17:26:40.829 [7752] DEBUG - Codecs: Downloading current version of aac decoder
May 30, 2019 17:26:40.830 [7752] INFO - CodecManager: obtaining decoder ‘aac’
May 30, 2019 17:26:40.831 [7752] DEBUG - Relay: read 46 cached entries from hosts file
May 30, 2019 17:26:40.832 [7752] DEBUG - HTTP requesting GET https://plex.tv/api/codecs/aac_decoder?build=windows-x86-standard&deviceId=275944ab-6ef3-4994-a3d1-6300f5fb7f61&oldestPreviousVersion=1.13.5.5291-6fa5e50a8&version=392df4f-2292
May 30, 2019 17:26:41.934 [11884] DEBUG - CERT: Installed certificate with fingerprint e3:1d:e5:12:a5:fd:65:fe:b8:f5:62:a7:cd:00:e6:f1:b4:e5:48:b5.
May 30, 2019 17:26:41.934 [11884] DEBUG - CERT: Installed new private key.
May 30, 2019 17:26:41.934 [11884] DEBUG - CERT: Subject name is /C=US/ST=California/L=Los Gatos/O=Plex, Inc./CN=*.984e5418f7494e01b53bfc48d8810aa5.plex.direct
May 30, 2019 17:26:41.935 [11884] DEBUG - CERT: OCSP requests for stapling will be made to ‘http://ocspx.digicert.com/’.
May 30, 2019 17:26:41.936 [11884] INFO - OCSP: Successfully retrieved response from cache.
May 30, 2019 17:26:41.936 [11884] DEBUG - CERT: Installed intermediate certificate.
May 30, 2019 17:26:41.939 [11884] ERROR - HttpServer: Error binding acceptor: An attempt was made to access a socket in a way forbidden by its access permissions
May 30, 2019 17:26:41.939 [11884] ERROR - Error: Unable to set up server: listen: An attempt was made to access a socket in a way forbidden by its access permissions (struct boost::wrapexcept)

Reverted back to the last version of Plex, and now it seems to be working fine.

May 30, 2019 17:26:41.939 [11884] ERROR - HttpServer: Error binding acceptor: An attempt was made to access a socket in a way forbidden by its access permissions
May 30, 2019 17:26:41.939 [11884] ERROR - Error: Unable to set up server: listen: An attempt was made to access a socket in a way forbidden by its access permissions (struct boost::wrapexcept)

This may happen if the port 32400 which is used by Plex is occupied by another running app.
It could be the former version of Plex, if you didn’t stop it from running before executing the update.
(I know, it should automatically stop it, but for instance if it is running as a system service that won’t happen automatically.)

Ah, thanks @OttoKerner. Is there any way to find out if a system service is using that port, and how would I then shut it down? Sorry if these are noob questions.

opening a command prompt (cmd.exe) and issuing
netstat -a -n will show you all currently used ports.
(Look out for the numbers after colons : )
If 32400 or 32401 are not among them, you should be good.

If you see either of these ports as “in use”, you need to determine which process is using them atm.
Open another command prompt, but this time run it “As Administrator”
then issue netstat -a -b

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.