When you enter "http: // localhost /" in your web browser, it automatically considers that you mean port 80 (the default HTTP port). If you changed the server port to 8888, you should mention this when entering the URL as follows: "http: // localhost: 8888" or, alternatively, "http://127.0.0.1:8888".
source share