I thought the same thing, i changed from 8080 to 9090 and it gave me the same error. I ran the net stat command to find the port being in used and guess what… there was nothing that is using 8080 or 9090
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp6 0 0 [::]:tproxy [::]:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
udp 0 0 0.0.0.0:mdns 0.0.0.0:*
udp 0 0 0.0.0.0:49645 0.0.0.0:*
udp 0 0 0.0.0.0:bootpc 0.0.0.0:*
udp6 0 0 [::]:mdns [::]:*
udp6 0 0 [::]:44605 [::]:*
raw6 0 0 [::]:ipv6-icmp [::]:* 7
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 7951 /var/run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM LISTENING 7954 /var/run/avahi-daemon/socket
unix 2 [ ACC ] STREAM LISTENING 7957 /run/thd.socket
unix 2 [ ACC ] STREAM LISTENING 10463 @/tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 5161 /run/systemd/fsck.progress
unix 2 [ ACC ] STREAM LISTENING 10321 /run/user/1000/systemd/private
unix 2 [ ACC ] STREAM LISTENING 10326 /run/user/1000/gnupg/S.gpg-agent
unix 2 [ ACC ] STREAM LISTENING 10329 /run/user/1000/bus
unix 2 [ ACC ] STREAM LISTENING 4967 /run/systemd/private
unix 2 [ ACC ] STREAM LISTENING 10331 /run/user/1000/gnupg/S.gpg-agent.browser
unix 2 [ ACC ] STREAM LISTENING 10363 /run/user/1000/gnupg/S.gpg-agent.ssh
unix 2 [ ACC ] STREAM LISTENING 10365 /run/user/1000/gnupg/S.gpg-agent.extra
unix 2 [ ACC ] STREAM LISTENING 8845 /var/run/dhcpcd.sock
unix 2 [ ACC ] STREAM LISTENING 5005 /run/systemd/journal/stdout
unix 2 [ ACC ] STREAM LISTENING 8847 /var/run/dhcpcd.unpriv.sock
unix 2 [ ACC ] SEQPACKET LISTENING 5325 /run/udev/control
unix 2 [ ACC ] STREAM LISTENING 10464 /tmp/.X11-unix/X0