Forums

Open Ports 27017-27020

Hello,

I am writing a web app that works with the steam and dota api. However, these apis connect to their servers at the port range 27017-27020. My sample script

https://www.pythonanywhere.com/user/Palmsoft/files/home/Palmsoft/dota.py

always says: "not able to connect". Can you open these ports for me?

It probably isn't a port issue, but for free accounts we restrict external internet access except for a list of whitelisted domains. If you can provide us with the steam and dota api documentation, we can add the relevant domains for you. Also, with a free account, you would only be able to talk in http/https protocols (so if the steam/dota api's require different protocols you would have to upgrade)

Hello,

I couldn't find the protocol, but the list of domains in the source code:

('162.254.195.44', 27019), ('146.66.152.11', 27017), ('162.254.196.40', 27017), ('146.66.152.11', 27018), ('162.254.197.41', 27017), ('162.254.197.42', 27018), ('146.66.152.10', 27018), ('162.254.196.41', 27020), ('185.25.180.14', 27018), ('162.254.196.43', 27021), ('146.66.155.8', 27018), ('162.254.196.40', 27018), ('162.254.197.41', 27021), ('162.254.197.42', 27017), ('185.25.180.14', 27017), ('185.25.182.10', 27018), ('162.254.196.40', 27021), ('208.78.164.9', 27019), ('208.78.164.12', 27018), ('162.254.196.40', 27019), ('162.254.197.41', 27020), ('208.78.164.14', 27018), ('162.254.195.46', 27019), ('162.254.197.40', 27018), ('155.133.242.8', 27020), ('162.254.196.41', 27018), ('208.78.164.14', 27019), ('208.78.164.12', 27017), ('162.254.196.40', 27020), ('162.254.196.42', 27021)

these are the domains it tries to connect to.

Documentation can be found here: http://steam.readthedocs.io/en/stable/