Solution to Error

Node Error: listen EADDRINUSE: address already in use :::5000 on Mac M1

Developers using Mac M1 with macOS Monterey might encounter a frustrating issue when running a local Node.js project. The common error listen EADDRINUSE: address already in use :::5000 appears when you try to execute npm run dev. This error indicates that port 5000, which you’re attempting to use for your Node.js application, is already occupied… Read more Node Error: listen EADDRINUSE: address already in use :::5000 on Mac M1

[RESOLVED] Docker Error: Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE)

If you are trying to run Docker on your Mac and you get this error:   ⨊ $> docker run -d -p 80:80 -v /Users/Someuser/Sites/project:/var/www/html gjuniioor/php-sqlsrv:7.0 7cfebd7ce8f9588c8d691a9cfef0d8b96ca56124779fe26dabe960b978d5fa73 docker: Error response from daemon: driver failed programming external connectivity on endpoint cocky_hamilton (09dcad6987a6410572c47d2d81f624ec86557fbe87f30c65a22f9889d85400a3): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE). Check to see… Read more [RESOLVED] Docker Error: Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE)

[RESOLVED] WAMP Windows Apache document root configured for shared directory on Mac OSX

No matter what I tried I could not configure the Apache DocumentRoot in Apache on Windows via WAMP to see a folder that had been shared by my MAc OS by way of VM Ware Fusion. I searched all over the internet and was unable to resolve this until setting up a Windows symlink in… Read more [RESOLVED] WAMP Windows Apache document root configured for shared directory on Mac OSX

operator not supported for strings slider_markup_init.php [SOLVED]

This error comes from an older version of the   WordPress LayerSlider plugin after an upgrade to PHP 7. In case you are unable to upgrade your LayerSlider plugin, or do not wish to,  here is a patch to fix the issue. Don’t worry it’s pretty easy.  : ) How to resolve error: operator not supported… Read more operator not supported for strings slider_markup_init.php [SOLVED]

[SOLVED] ERROR mysqli_real_connect(): (HY000/2002): No such file or directory

If you are getting a wordpress error that starts with “mysqli_real_connect(): (HY000/2002):” and includes “No such file or directory” and ends with “wp-includes/wp-db.php on line 1490”, then here is what resolved the issue for me. In the wp-config.php file, include (or change) this line from define(‘DB_HOST’, ‘localhost’); to define(‘DB_HOST’, ‘127.0.0.1’); I put it near the… Read more [SOLVED] ERROR mysqli_real_connect(): (HY000/2002): No such file or directory

[SOLVED] How to Fix $.ajax() Not Working ie 8, ie 9 and ie 10

  jQuery is an great tool to use for making ajax calls. As usual MS Internet Explorer has to make things that would otherwise be standard — difficult. Setting aside any rants about how much hair one can pull out in the days it takes to accomplish something that should have been easy, here is what… Read more [SOLVED] How to Fix $.ajax() Not Working ie 8, ie 9 and ie 10

SOLVED: /usr/bin/env: node: No such file or directory

While working with NodeJS on an AWS Ubuntu 14 box, I got the following error: /usr/bin/env: node: No such file or directory On some Linux distributions, AWS in my case, there is a namespace issue which causes errors at times. The error is a result of some distributions installing NodeJS with the name nodejs as opposed to node. The… Read more SOLVED: /usr/bin/env: node: No such file or directory

CORS; How To Set HTTP Response Header on IIS Windows Server 2012 R2 to Access-Control-Allow-Origin

When attempting to make an AJAX call are you getting the following error? XMLHttpRequest cannot load (then some path to the remote site). No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://yourAjaxCallingSite.com’ is therefore not allowed access. This means the Server hosting the resource is not set up to be CORS compliant. If… Read more CORS; How To Set HTTP Response Header on IIS Windows Server 2012 R2 to Access-Control-Allow-Origin

Error: listen EADDRINUSE

The npm web server is a very simple web server used in development and testing for delivering static files. While attempting to use start the npm web server you may see an error like this: at exports._errnoException (util.js:746:11) at Server._listen2 (net.js:1156:14) at listen (net.js:1182:10) at net.js:1280:9 at dns.js:85:18 at process._tickCallback (node.js:355:11) at Function.Module.runMain (module.js:503:11) at startup… Read more Error: listen EADDRINUSE