I use git with gitlab.
I'm no longer able to push to my repo from windows pc. git is no longer asking for password.
The error:
achita@DESKTOP-IAEDBE2 MINGW64 /c/RachitaData/Git/Projects/Pms (master)
$ git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working directory clean
Rachita@DESKTOP-IAEDBE2 MINGW64 /c/RachitaData/Git/Projects/Pms (master)
$ git push -u origin master
fatal: unable to access 'https://gitlab.com/aarfid/aarfidProjects.git/': Failedto connect to gitlab.com port 443: Bad access
EDIT
Ping command cannot find host
ping https://gitlab.com/aarfid/aarfidProjects.git
Ping request could not find host https://gitlab.com/aarfid/aarfidProjects.git. Please check the name and try again.
C:\Users\Rachita\Downloads\curl-7.33.0-win64-ssl-sspi>ping gitlab.com
Pinging gitlab.com [104.210.2.228] with 32 bytes of data:
Request timed out.
Ping statistics for 104.210.2.228:
Packets: Sent = 1, Received = 0, Lost = 1 (100% loss),
Control-C
^C
Curl
C:\Users\Rachita\Downloads\curl-7.33.0-win64-ssl-sspi>curl https://gitlab.com/aarfid/aarfidProjects.git
curl: (7) Failed connect to gitlab.com:443; No error
C:\Users\Rachita\Downloads\curl-7.33.0-win64-ssl-sspi>curl gitlab.com
curl: (7) Failed connect to gitlab.com:80; No error
Although I'm able to open gitlab.com on the browser
EDIT1
firewall settings
C:\Users\Rachita\Downloads\curl-7.33.0-win64-ssl-sspi>netsh advfirewall show currentprofile
Private Profile Settings:
----------------------------------------------------------------------
State ON
Firewall Policy BlockInbound,AllowOutbound
LocalFirewallRules N/A (GPO-store only)
LocalConSecRules N/A (GPO-store only)
InboundUserNotification Enable
RemoteManagement Disable
UnicastResponseToMulticast Enable
Logging:
LogAllowedConnections Disable
LogDroppedConnections Disable
FileName %systemroot%\system32\LogFiles\Firewall\pfirewall.log
MaxFileSize 4096
SOLUTION
I turned off the firewall and the problem was solved as suggested by das_j in comment
To turn wirewall off
netsh advfirewall set allprofiles state off