Tag: networking
Browse all articles, tutorials, and guides about networking
Posts
Connecting to Host Machine's Localhost from a Docker Container
Learn how to properly connect to services running on your host machine from within Docker containers
Ingress vs Load Balancer in Kubernetes: When to Use Each
Learn the key differences between Kubernetes Ingress and LoadBalancer services, including use cases, cost implications, and implementation examples for optimal traffic routing.
How to Kill a Process Running on a Particular Port in Linux
Learn multiple methods to identify and terminate processes that are using specific ports on Linux systems using netstat, lsof, fuser, and ss commands.
Difference Between ClusterIP, NodePort and LoadBalancer Service Types in Kubernetes
Understand the key differences between ClusterIP, NodePort, and LoadBalancer service types in Kubernetes, when to use each, and how they expose applications.
How to Check Which Process is Using a Specific Port from Command Line
Learn how to identify which processes are listening on specific ports using netstat, lsof, and ss commands across different operating systems.
Docker Compose: Understanding Ports vs Expose
Learn the key differences between ports and expose in Docker Compose, when to use each one, and how they affect container networking and security in your applications.
How to Reset Local Git Branch to Match Remote Repository HEAD
Learn different methods to reset your local Git branch to exactly match the remote repository HEAD, including hard reset, fetch and reset, and when to use each approach safely.
How to Reset or Revert a File to a Specific Revision in Git
Learn multiple ways to reset or revert a specific file to a previous version in Git, including using git checkout, git restore, and git show commands with practical examples.
How to Push a New Local Branch to Remote Git Repository and Track It
Learn how to push a new local Git branch to a remote repository and set up tracking, including different methods for initial push, setting upstream branches, and managing branch relationships.
How to Revert Git Repository to a Previous Commit Safely
Learn multiple safe methods to revert your Git repository to a previous commit, including using git revert, git reset, and git checkout with practical examples and safety considerations.
Communication Between Multiple Docker-Compose Projects
Learn how to enable communication between multiple Docker-Compose projects using shared networks and environment configurations.
How to Close Specific Ports on Linux Systems
Learn how to close and block specific ports on Linux using iptables, ufw, firewalld, and by stopping services. Secure your system by controlling port access.
What is the Difference Between "Expose" and "Publish" in Docker?
Understanding the difference between 'expose' and 'publish' in Docker is crucial for managing container networking effectively. Learn how these concepts work and when to use them.
How to Access Host Port from Docker Container
Learn how to access a host machine's port from a Docker container using network configurations and best practices.
How Can I Expose More Than One Port with Docker?
Learn how to expose multiple ports in Docker to enable complex containerized applications with multiple services.
Who is Listening on a Given TCP Port on Mac OS X?
Need to find out which process is using a specific port on your Mac? Here's how to check which application is listening on a TCP port using built-in macOS tools.
How to Get a Docker Container's IP Address from the Host
Learn how to find a Docker container's internal IP address from your host machine using simple Docker commands. This is useful for debugging, testing services, or container communication.
Finding Local IP Addresses Using Python's stdlib
Learn how to find the local IP address of your machine using only Python's standard library. No third-party packages required.
Docker - Ubuntu - bash: ping: command not found [closed]
Resolve the 'ping: command not found' error in Ubuntu-based Docker containers by installing missing packages.
How to Get Your Local IP Address
Learn multiple methods to find your local IP address using command line tools, programming languages, and system utilities across different operating systems.
How to Find Which Process Is Listening on a Port in Windows
Need to know which application is using a specific TCP or UDP port on Windows? Here's how to check using netstat, tasklist, PowerShell, and Resource Monitor.
What Is the Quickest Way to HTTP GET in Python?
Need to make a quick HTTP GET request in Python? Here's how to do it with standard libraries and third-party tools, including pros and tradeoffs.
How to Assign a Port Mapping to an Existing Docker Container
Learn how to assign a port mapping to an already running Docker container using practical workarounds and best practices.
How Does kubectl port-forward Create a Connection?
Understand how kubectl port-forward works to create connections between your local machine and Kubernetes Pods.
What Is the Difference Between a Port and a Socket?
Ports and sockets are often mentioned together in networking, but they serve different roles. This guide breaks down what they are and how they work together.
Difference Between targetPort and port in Kubernetes Service Definition
Understand the distinction between targetPort and port in Kubernetes Service definitions, and learn how they impact your application's networking.