From 6825dba9d027e9d657c8de04320f5e6e8cc19941 Mon Sep 17 00:00:00 2001 From: darkicewolf50 Date: Thu, 22 May 2025 17:44:24 -0600 Subject: [PATCH] fix(actix): fiex so service runs on correct port --- .github/workflows/Actions.yml | 5 ----- src/main.rs | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/Actions.yml b/.github/workflows/Actions.yml index d6ffe48..fc3d2e4 100644 --- a/.github/workflows/Actions.yml +++ b/.github/workflows/Actions.yml @@ -24,11 +24,6 @@ jobs: - name: checkout uses: actions/checkout@v3 - - name: Verify Docker is available - run: | - docker info - docker version - - name: Login to Dockerhub # log into docker hub uses: docker/login-action@v2 with: diff --git a/src/main.rs b/src/main.rs index 3e28b20..ff55b77 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,7 +6,7 @@ use darkicewolf50_cloud::{get_blog, get_blogs_preview, hello, project, skills_ho #[actix_web::main] async fn main() -> std::io::Result<()> { - println!("Running on port 8000"); + println!("Running on port 5050"); HttpServer::new(|| { App::new() .wrap( @@ -31,7 +31,7 @@ async fn main() -> std::io::Result<()> { ) .service(web::scope("/home").service(skills_home)) }) - .bind(("127.0.0.1", 8000))? + .bind(("0.0.0.0", 5050))? .run() .await }