The problem turned out to be related to a proxy that was setup. Disabling the proxy allows calls to be made to services in LocalStack.