Windows Docker – An attempt was made to access a socket in a way forbidden by its access permissions.

Published on Author JFLeave a comment

Running Docker on Windows? You might run into these errors: docker: Error response from daemon: Ports are not available: listen tcp 0.0.0.0:4449: bind: An attempt was made to access a socket in a way forbidden by its access permissions. Error starting userland proxy: listen tcp 0.0.0.0:80: bind: An attempt was made to access a socket… Continue reading Windows Docker – An attempt was made to access a socket in a way forbidden by its access permissions.

How to add PHP 8.1.24 to Ubuntu 22.04

Published on Author JFLeave a comment

You’re running the default PHP 8.1.22 on Ubuntu 22.04 and need to update to 8.1.24. Fortunately, the ondrej/php repository includes 8.1.22 so you can just remove the existing php, add ondrej/php and then install 8.1.24. Check version on Ubuntu Remove PHP Note: we are keeping /etc/…php.ini because we want to keep the config file —… Continue reading How to add PHP 8.1.24 to Ubuntu 22.04

How to manually install Adobe Acrobat in Firefox Windows

Published on Author JFLeave a comment

As usual, there are issues with installing Adobe products and then finding out how to re-install them. In this particular case, the Acrobat plugin disappeared from Firefox. Googling for the solution found hundreds of different solutions, going back to the mid 2000s, most utterly useless since Adobe refuses to prune their support threads. How to… Continue reading How to manually install Adobe Acrobat in Firefox Windows

Deploy Barracuda Network Access Client in Intune

Published on Author JFLeave a comment

Just a quick guide as a reference for installing the Barracuda client into Azure Intune. Does not include VPN profiles. Download new client, in this case NetworkAccessClient_5.3.3-17_x64.exe I create a folder in the C: drive because of short paths. CMD as Administrator put the .exe file in here Get ITW client with git so you… Continue reading Deploy Barracuda Network Access Client in Intune

wkhtmltopdf error network status code 4 and http status code 0

Published on Author JFLeave a comment

You might get the following error/s with wkhtmltopdf : Error: Failed to load https://www.yoursite.com/some-pdf-gen-url/, with network status code 4 and http status code 0 – Socket operation timed outWarning: Failed loading page Or exit with code 1 due to network error: timeouterror First, try cURLing your site: If that fails, it is because DNS is… Continue reading wkhtmltopdf error network status code 4 and http status code 0

Connect to local MySQL from Docker Container

Published on Author JFLeave a comment

You’re running a docker web app and it connects fine to the IP address you specified on a shared database server, but you can’t connect to MySQL running on your workstation hosting the container. How do you connect to your local machine’s instance of MySQL? Easy. In this example, we’re doing dev coding on our… Continue reading Connect to local MySQL from Docker Container

Running Docker on a Windows 10 Hyper-V

Published on Author JFLeave a comment

You are running Windows 10/11 on your machine with Hyper-V installed. You are also running a Windows 10 Hyper-V Virtual Machine. When installing Docker you will get a notification that WSL is having issues so you will update it. Run PowerShell as Administrator: And Docker will still fail so you will: It might fail because… Continue reading Running Docker on a Windows 10 Hyper-V

GitLab: couldn’t execute POST against https://gitlab.mysite.com/api/v4/runners: Post “https://gitlab.mysite.com/api/v4/runners”: x509: certificate signed by unknown authority

Published on Author JFLeave a comment

When registering your runner, you might get this certificate error. In this case we’re using GoDaddy wildcards on our servers (for reasons). Simple fix on the Runner itself: This will copy the target server’s (gitlab.mysite.com) CRT into the Runner’s /etc/gitlab-runner/certs/ folder. Make sure you are using the complete FQDN as the cert name must match… Continue reading GitLab: couldn’t execute POST against https://gitlab.mysite.com/api/v4/runners: Post “https://gitlab.mysite.com/api/v4/runners”: x509: certificate signed by unknown authority