Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4439

uvicorn app on port 8505 does not work

$
0
0

I want to run an uvicorn app on port 8505, but it does not work. If I put the app on port 8506 it does work. It also has been working before.

Here is my firewall settings:

Status: activeLogging: on (low)Default: deny (incoming), allow (outgoing), disabled (routed)New profiles: skip

To Action From


22/tcp ALLOW IN Anywhere
8503/tcp ALLOW IN Anywhere
8504/tcp ALLOW IN Anywhere
8505/tcp ALLOW IN Anywhere
8506/tcp ALLOW IN Anywhere
8507/tcp ALLOW IN Anywhere

Here my netstat output:

tcp 0 0 0.0.0.0:8505 0.0.0.0:* LISTEN 205760/python

If I browse to it I can see traffic coming, but the webpage/app is not picking it up:

16:27:11.053259 enp0s31f6 In IP (tos 0x20, ttl 49, id 0, offset 0, flags [DF], proto TCP (6), length 64)x.x.x.x.60984 > x.x.x.180.8505: Flags [S], cksum 0x327b (correct), seq 2358555169, win 65535, options [mss 1326,nop,wscale 6,nop,nop,TS val 726067971 ecr 0,sackOK,eol], length 0

If I switch it over to port 8506 it does work. I also tried 8503, 8504 and 8507 as they are open in my firewall no luck. Like mentioned before it was working, but after some time it started to refuse to work.

Any pointers would be helpful


Viewing all articles
Browse latest Browse all 4439

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>