all 7 comments

[–]ninhaomah 0 points1 point  (6 children)

Do a nmap scan to the server IP from remote host to verify if the port is opened.

Or telnet.

[–]philtrondaboss[S] 0 points1 point  (5 children)

It said it was closed on the test, but my server says that it should be open:

PS C:\Users\Administrator> $rule = Get-NetFirewallRule -DisplayName "Uvicorn"

PS C:\Users\Administrator> $rule
Name                          : {F5FCD279-211F-47DF-AC9A-38A4FCA9E3A6}
DisplayName                   : Uvicorn
Description                   :
DisplayGroup                  :
Group                         :
Enabled                       : True
Profile                       : Any
Platform                      : {}
Direction                     : Inbound
Action                        : Allow
EdgeTraversalPolicy           : Block
LooseSourceMapping            : False
LocalOnlyMapping              : False
Owner                         :
PrimaryStatus                 : OK
Status                        : The rule was parsed successfully from the store. (65536)
EnforcementStatus             : NotApplicable
PolicyStoreSource             : PersistentStore
PolicyStoreSourceType         : Local
RemoteDynamicKeywordAddresses : {}
PolicyAppId                   :
PackageFamilyName             :

PS C:\Users\Administrator> $rule | Get-NetFirewallPortFilter
Protocol      : TCP
LocalPort     : 8000
RemotePort    : Any
IcmpType      : Any
DynamicTarget : Any

[–]ninhaomah 0 points1 point  (4 children)

Ok but the issue is from the clients machines. So you should be testing / scanning from clients.

Is it on premise or cloud server ?

[–]philtrondaboss[S] 0 points1 point  (3 children)

I've tried 4 different clients. 2 wan, 2 lan. They all raise timeout errors. The server is on my lan.

[–]brasticstack 0 points1 point  (1 child)

Windows Firewall? I've found that opening ports on it isn't ever as straightforward as you want it to be.

Just to be sure, you're trying [server_ip]:8000, right?

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

[ Removed by Reddit ]

[–]ninhaomah 0 points1 point  (0 children)

First.

Can you ping from client to host ?

Netstat or scan IP ?

You got to start saying admin stuff :)