1.3 KiB
1.3 KiB
🔧 Git Connection Fix
Issue
fatal: unable to access 'https://git.dk0.dev/denshooter/portfolio/':
Failed to connect to git.dk0.dev port 443 after 75002 ms: Couldn't connect to server
Solutions
Option 1: Check Server Status
The server is reachable via HTTP (tested), but Git might need authentication.
Option 2: Configure Git Credentials
# Store credentials
git config --global credential.helper store
# Or use keychain (macOS)
git config --global credential.helper osxkeychain
Option 3: Use Personal Access Token
- Go to: https://git.dk0.dev/user/settings/applications
- Generate a new token
- Use it when pushing:
git push https://YOUR_TOKEN@git.dk0.dev/denshooter/portfolio.git
Option 4: Check Firewall/Network
- Port 443 might be blocked
- Try from different network
- Check if VPN is needed
Option 5: Use SSH (if port 22 opens)
git remote set-url origin git@git.dk0.dev:denshooter/portfolio.git
Current Status
- Remote URL:
https://git.dk0.dev/denshooter/portfolio.git - Server reachable: ✅ (HTTP works)
- Git connection: ⚠️ (May need credentials)
Quick Test
# Test connection
curl -I https://git.dk0.dev
# Test Git
git ls-remote https://git.dk0.dev/denshooter/portfolio.git