From fe8c0b6697e436e018fb68fd7b748ba11a46e4a0 Mon Sep 17 00:00:00 2001 From: Eduard Voiculescu Date: Tue, 4 Jun 2024 15:32:27 -0400 Subject: [PATCH] listening only on port 9000 --- remotebuild/main.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/remotebuild/main.go b/remotebuild/main.go index e92e1cd38..e22208265 100644 --- a/remotebuild/main.go +++ b/remotebuild/main.go @@ -42,11 +42,7 @@ func main() { path, handler := pbbuildv1connect.NewBuildServiceHandler(srv) mux.Handle(path, handler) - port := os.Getenv("PORT") - if port == "" { - port = "9000" - } - + port := "9000" srv.logger.Info("listening on port", "port", port) err := http.ListenAndServe( fmt.Sprintf(":%s", port),