Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Unable to connect to server: connection to server at "localhost" (127.0.0.1), port 5432 failed

docker inspect 
	-f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' 
	<container_name_or_id>
    
# Outputs is the IP address you need to connect to
Comment

PREVIOUS NEXT
Code Example
Shell :: pull file from specific commit git 
Shell :: linux split file by lines 
Shell :: sed substitute a word in a file by the content in another file 
Shell :: sbatch cancel job 
Shell :: disk not showing mac command line 
Shell :: how to prevent ubuntu sleeping when closing laptop 
Shell :: how to install uvicorn 
Shell :: git use stash on another computer 
Shell :: docker compose recreate 
Shell :: free ssl certificate for nginx 
Shell :: zsh terminal 
Shell :: run powershell script by clicking 
Shell :: upload file ssh terminal 
Shell :: ncrack ftp brute force 
Shell :: insert bash command to docker-compose file 
Shell :: powershell which equivalent 
Shell :: how to add a zip file 
Shell :: powershell which command 
Shell :: batch comment 
Shell :: how to pass docker hub credentials for k8s pods 
Shell :: online centos terminal 
Shell :: $(cat <<EOF 
Shell :: kubectl logs with grep 
Shell :: bash print file permissions 
Shell :: create file from terminal using cat 
Shell :: install bottom navigation in native 
Shell :: giphy slack 
Shell :: awk use string as field separator 
Shell :: open rdp port windows 10 using command line 
Shell :: no devices connected android studio 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =