~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/pds.js

An atproto PDS in JavaScript, for Cloudflare Workers and Node

0
0
main
13 lines · 594 B Raw History
/**
 * Port for the Node/Deno e2e test server.
 *
 * Deliberately not 3000 or 8080: the relay container reaches this server
 * through Docker's host gateway, which resolves to the host's loopback, so
 * any unrelated dev server squatting a common port answers the relay's
 * describeServer probe instead. The relay then rejects requestCrawl and
 * never registers the repo. Sitting next to the other pds.js infrastructure
 * ports (2470 relay, 2582 PLC) keeps that from happening.
 *
 * Keep `docker/Caddyfile`'s reverse_proxy target in sync with this value.
 */
export const TEST_PORT = 2471;