We help IT Professionals succeed at work.

github port 443

sanagarwl asked
to be able to clone or do any thing else with github one needs to have 443 open. Is there any way to work around that. I'm contracting at a state agency and the process of getting the approvals are in the pipeline but in the interim I'm hoping to get familiar with all things git.

thanks a bunch.
Watch Question

You don't need to have your port 443 open. Github, which is the one hosting the HTTPS (HTTP+SSL) service, is the one that has its port 443 open.

In normal setups of corporate networks, as long as you can access the secure (HTTPS) version of their website on the web browser you use, you should be fine.


thanks kristinalim for your response.

here's the error messae i'm getting from the corporate network and this works just fine when I do clone from home...

Cloning into 'Play-Area2'...
ssh: connect to host github.com port 22: Bad file number
fatal: The remote end hung up unexpectedly
It seems like either a firewall mangles your SSH packets or there is some proxy messing with your SSH requests. You can use the Smart HTTP URL for your repository instead: https://github.com/blog/642-smart-http-support

git clone https://username@github.com/username/project.git

Click HTTP (beside "SSH") on your GitHub project page to get the URL.


thanks kristinalim,

I tried the following

$ git clone http://github.com/<myusername>/<myproject>.git

the error I received was as follows:
error: Recv failure: Connection was reset while accessing http://github.com/SangeetMohan/Play-Area2.git/info/refs
fatal: HTTP request failed

$ git clone https://username@github.com/username/project.git

for this I closed the powershell window since it just sat there...

Explore More ContentExplore courses, solutions, and other research materials related to this topic.