Skip to content

Commit b6391ea

Browse files
guptaakacopybara-github
authored andcommitted
Change Pathways backend target from localhost to 127.0.0.1
This change uses the explicit IPv4 loopback address instead of the hostname "localhost" for the gRPC backend target, which could resolve to an IPv6 address. PiperOrigin-RevId: 875382428
1 parent 71d1346 commit b6391ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pathwaysutils/experimental/shared_pathways_service/isc_pathways.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
_JAX_PLATFORMS_KEY = "jax_platforms"
2929
_JAX_PLATFORM_PROXY = "proxy"
3030
_JAX_BACKEND_TARGET_KEY = "jax_backend_target"
31-
_JAX_BACKEND_TARGET_HOSTNAME = "grpc://localhost"
31+
_JAX_BACKEND_TARGET_HOSTNAME = "grpc://127.0.0.1"
3232
_DEFAULT_PROXY_IMAGE = "us-docker.pkg.dev/cloud-tpu-v2-images/pathways/proxy_server:latest"
3333

3434
_logger = logging.getLogger(__name__)

0 commit comments

Comments
 (0)