get_iplayer forums

Unable to create server socket: Permission denied - Printable Version

+- get_iplayer forums (https://forums.squarepenguin.co.uk)
+-- Forum: Windows Forums (https://forums.squarepenguin.co.uk/forum-8.html)
+--- Forum: Windows Troubleshooting (https://forums.squarepenguin.co.uk/forum-6.html)
+---- Thread: Unable to create server socket: Permission denied (https://forums.squarepenguin.co.uk/thread-2031.html)



Unable to create server socket: Permission denied - colinp - 07-06-2019

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


RE: Unable to create server socket: Permission denied - mrg9999 - 07-06-2019

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/+archive/ubuntu/get-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


RE: Unable to create server socket: Permission denied - colinp - 16-06-2019

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?


RE: Unable to create server socket: Permission denied - mrg9999 - 16-06-2019

I'm running gip under ubuntu under windows 10 seems to work fine.