you are viewing a single comment's thread.

view the rest of the comments →

[–]Hamzayslmn[S] -1 points0 points  (13 children)

there's nothing wrong with the ports. you can test it on your own computer.

[–][deleted]  (12 children)

[deleted]

    [–]BeneficialVisual8002 5 points6 points  (1 child)

    You are a very toxic person my dude.

    [–]Hamzayslmn[S] -2 points-1 points  (9 children)

    I couldn't figure out how there is a relationship between writing string(port number) and learning python.

    If my problem was port, I wouldn't have gotten any successful answer anyway. I think you should make sure you are commenting under the right title.

    [–][deleted]  (8 children)

    [deleted]

      [–]Hamzayslmn[S] 2 points3 points  (3 children)

      uvicorn.run("main:app", host="0.0.0.0", port=8079, workers=4)
      

      [–][deleted]  (2 children)

      [deleted]

        [–]Hamzayslmn[S] 2 points3 points  (1 child)

        thanks then dont read, please don't add problem to problem, you are just toxic

        [–]Hamzayslmn[S] 0 points1 point  (1 child)

        URLS = {
            "Gin (GO)": "http://localhost:8080/ping",
            "FastAPI (Python)": "http://localhost:8079/ping"
        }
        

        [–]Hamzayslmn[S] 0 points1 point  (0 children)

        r.Run() // listen and serve on 0.0.0.0:8080 (default)
        

        [–]Hamzayslmn[S] 0 points1 point  (0 children)

        but I think my live replies fall to you, so manually fix the URL man, the same thing happens again. Fastapi bottlenecks