Unable to create server socket: Permission denied
#1
After a recent Windows 10 update to 1903, I am seeing this error when I try to lauch WebPVR:
Unable to create server socket: Permission denied at C:\Program Files (x86)\get_iplayer\get_iplayer.cgi line 278

I found an old thread about this problem and I have tried the following without success:
1. Uninstalling get_iplayer, restarting, installing latest get_iplayer (3.20)
2. Checked that perl.exe was an allowed app in the firewall
3. Used netstat to check that nothing else was using port 1935
4. Set shortcut to run as administrator

Any other ideas why this may be happening?

Colin
#2
Probably a firewall or a 3rd party AV etc

Any easy fix / test

Windows 10 makes Installing Ubuntu as an application a breeze. I've chosen a fairly stable Ubuntu 18.04, but you can choose from a number of distributions including Debian

Open an admin powershell
::type and press return
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

::Download a version of Ubuntu
Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile Ubuntu.appx -UseBasicParsing

Execute the appx (in my case)
.\CanonicalGroupLimited.Ubuntu18.04onWindows_1804.2018.817.0_x64__79rhkp1fndgsc.Appx
::wait for it to install, takes about 2 minutes on my system
:: enter username and password

:: read this https://launchpad.net/~jon-hedgerows/+ar...et-iplayer
sudo add-apt-repository ppa:jon-hedgerows/get-iplayer
::then

sudo apt-get install get-iplayer
:: wait a few minutes until you get the prompt back
:: test it to download the Archers Omnibus
:: optionally add mp3 post conversion

get_iplayer --type=radio -pid=m0005mfm

get_iplayer 3.20-ppa33, Copyright (C) 2008-2010 Phil Lewis
This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
This is free software, and you are welcome to redistribute it under certain
conditions; use --conditions for details.


Episodes:
The Archers Omnibus - 02/06/2019, BBC iPlayer, m0005mfm
INFO: 1 total programmes

INFO: Downloading radio: 'The Archers Omnibus - 02/06/2019 (m0005mfm) [original]'
INFO: Downloaded: 188.17 MB (01:14:52) @ 32.03 Mb/s (hafhigh1/ll) [audio]
INFO: Converting to M4A
INFO: Tagging M4A
..
::etc
#3
I turned off the firewall and that didn't help. I don't use any AV s/w other than what comes with Windows 10.

If I do use Ubuntu within Windows, can I still use WebPVR?
#4
I'm running gip under ubuntu under windows 10 seems to work fine.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Web PVR: "Unable to create server socket: Permission denied" error on startup Herbiv4 6 6,163 03-10-2018, 04:17 PM
Last Post: sha256
  Access Denied error on Windows texx 2 3,037 01-07-2018, 10:37 PM
Last Post: texx
  Could not create default output directory after reinstall Koyangi 9 7,587 03-09-2016, 11:44 AM
Last Post: Koyangi
  Can't create file that already exists alanem 6 4,842 16-10-2015, 07:24 PM
Last Post: alanem