Which firewall port required to access python repository?
https://pypi.org/project/paramiko/ - communicates only via 443 port, but for installation the following URI is used - https://api.github.com/repos/paramiko/paramiko Check, if it is blocked by firewall
EDIT: screenshot for second lib as asked
Related videos on Youtube
William R
Passionate and result oriented Big Data Engineer with 10 years of experience in different Software industries. Worked in multiple domains on Various technologies and different software life cycle models like Agile / Scrum and Dev-Ops. Skills in Data lake establishment, Big Data Engineering and architecting the datalake solutions. Hands-on with technical and business acumen, independent, quick, opinionated, good communicator, pragmatic programmer, mentor.
Updated on September 18, 2022Comments
-
William R over 1 year
Trying to install python library from corporate Server. Due to security reason the internet is blocked and specific URL's only allowed.
So would like to raise a firewall opening to install python lib using pip install. Do anyone know which ports are required to access library using pip ? or any other better solution to handle this ?
I made a firewall opening to Port:80 and 443 for the URL:https://pypi.org/ and its not working.
pip install https://pypi.org/project/paramiko/ Collecting https://pypi.org/project/paramiko/ Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fa40ff24828>, 'Connection to pypi.org timed out. (connect timeout=15)')': /project/paramiko/
-
William R about 4 yearsOk, I gave an example. Even if i use anyother lib pypi.org/project/PyNaCl still getting same error messages. Is something wrong in firewall opening ? based on your answer i understand we cant access all lib in pypi.org.
-
batistuta09 about 4 yearsI added a screenshot regarding another lib.
-
batistuta09 about 4 yearsCan you open in (lynx) browser the following URI: pypi.org/project/paramiko and api.github.com/repos/paramiko/paramiko
-
William R about 4 yearsThanks, Its due to wrong url given to open firewall pypi.python.org. After adding pypi.org & files.pythonhosted.org on 443 worked.