Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion market-maker/src/core/healthcheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class HealthCheck {

const logger = this.opts.logger;
const port = this.opts.port;
this.server.listen(port, () => {
this.server.listen(port, "0.0.0.0", () => {
logger.info(
{
human: `http://localhost:${port}/health`,
Expand Down
4 changes: 3 additions & 1 deletion market-maker/src/core/portfolioHealth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ export class PortfolioHealthCheck {
}
});
const { logger, port } = this.opts;
this.server.listen(port, () => {
// Bind IPv4 explicitly. listen(port) alone binds :: on current
// node:24-alpine, and the ALB health check to the task IPv4 times out.
this.server.listen(port, "0.0.0.0", () => {
logger.info(
{
human: `http://localhost:${port}/health`,
Expand Down
Loading