CaliKane
CaliKane

Reputation: 114

Git to GitHub - Failed to connect to port 443: Connection refused

I'm currently running Ubuntu 14.04.3 via Oracle's Virtual Box with the parent OS being windows 8.1. I've installed Git on the VM, and have setup a GitHub account.

Using the terminal, I have entered in my username, e-mail, and have set up the remote connection between my local file and my repository. All of that went without a hitch. I then created a README.txt file to try and practice commits and pushes. In the terminal, and in the correct directory, I type $ git add README then $ git commit -m 'Practicing Git', the terminal then outputs:

[master (root-commit) f3dc37d] Practicing Git
1 file changed, 1 insertion(+)
create mode 100644

So everything seems to be going well, but then I try and push the commit to the repository $ git push origin master, and the terminal outputs this message:

fatal: unable to access 'https://CaliKane/RemindMeApp.git/': Failed to connect to CaliKane port 443: Connection refused

This is currently being tried on my home computer without any proxies. I know that I can try and setup the push through SSH, but am not very familiar with the process, and would rather stick with https if possible, as it seems to be the best option. I'm not sure what the issue could be except for maybe running git on a VM? If anyone has suggestions, let me know. Thanks!

Upvotes: 1

Views: 5634

Answers (1)

Brayden G
Brayden G

Reputation: 93

If you are using GitHub then you are missing part of the remote URL it should be:

https://github.com/CaliKane/RemindMEApp.git

This assumes your username is CaliKane on github and your project name is RemindMEApp.git

I have checked the URL and this is your remote host.

Upvotes: 1

Related Questions