use localhost to connect in HTTP checks