diff --git a/backend/api-gateway/main.go b/backend/api-gateway/main.go index fdfe73f..7fed728 100644 --- a/backend/api-gateway/main.go +++ b/backend/api-gateway/main.go @@ -4,6 +4,7 @@ package main import ( "bytes" "encoding/json" + "fmt" "log" "net/http" ) @@ -47,5 +48,6 @@ func executeCode(w http.ResponseWriter, r *http.Request) { func main() { http.HandleFunc("/execute", executeCode) - log.Fatal(http.ListenAndServe(":8081", nil)) + fmt.Println("API Gateway running on port 8080\n") + log.Fatal(http.ListenAndServe(":8080", nil)) } diff --git a/backend/code-execution-service/main.go b/backend/code-execution-service/main.go index e1bfef5..538aae8 100644 --- a/backend/code-execution-service/main.go +++ b/backend/code-execution-service/main.go @@ -47,6 +47,6 @@ func runHandler(w http.ResponseWriter, r *http.Request) { func main() { http.HandleFunc("/execute", runHandler) - fmt.Print("code-execution-service started at port 8080\n") - log.Fatal(http.ListenAndServe(":8080", nil)) + fmt.Print("code-execution-service running on port 8081\n") + log.Fatal(http.ListenAndServe(":8081", nil)) }