Chrome: ERR_SOCKET_NOT_CONNECTED when accessing Google sites

There are times when Chrome will have to wait for an available Google socket to connect before it can access Google sites (i.e., gmail, hangout, voice, etc).

You have 3 choices:

  • Simply wait till a socket becomes available
  • Restart your machine
  • Type “chrome://net-internals” in the address bar.  Select “Sockets” from the drop down list.  Click “Flush socket pools”.




WordPress Installation on IIS with PHP. Pretty URL and Error 404 and 500

If you want to configure WordPress to use Pretty URL.  

  1. Change WordPress—>Dashboard—>Settings—>Permalinks to use “Post name” format.
  2. Make sure your IIS has “URL Rewrite” module installed.
  3. Add the following to your WordPress site’s webconfig.
<?xml version="1.0" encoding="UTF-8"?>
<rule name="WordPress Rule" stopProcessing="true">
<match url=".*" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<action type="Rewrite" url="index.php?page_id={R:0}" />

Note that this is different the instructions from

After you do this, you may run into broken images problem. 

Quick Fix:

  1. Add IUSR and {serveranme}/IIS_IUSRS with read permission to the uploaded images.

Better Solution:

  1. Search and modify “php.ini” (e.g. C:\Program Files (x86)\PHP\vX.X)
  2. Change “upload_tmp_dir=C:\Windows\Temp” to a folder of your own folder.
  3. Add IUSR and {serveranme}/IIS_IUSRS with full control permission to the new folder.

Special thanks to Amixa Blog’s article for hitting the broken image problem right on the nail.  I could see this taking hours to resolve.