WordPress on localhost working, when sharing IP to connect receive err_connection_refused on .js and .css files

As discussed in comments, the problem was that the site address was set to localhost:8888/myBlog. This is the URL WordPress is expecting your clients to be using, and uses this to generate fully-qualified URLs for scripts and CSS etc. Hence your other clients were trying to load scripts and CSS from their own localhost.

The fix is to set the correct URL, http://myIP:8888/myBlog, as the ‘WordPress Address’ and ‘Site Address’ under Settings, General.