Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [networking]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
46 views

Best Way to Call a Service Running in a Docker Container from another Docker Container in the Same EC2 Instance?

Context I hope the following diagram makes it clear, ask if you still need any answer. Basically, the cronjob itself (a container) will run every hour, that needs to use a long running redis service. ...
Della's user avatar
  • 133
0 votes
0 answers
23 views

I can't reach out the database from my pod

I have two servers A with private ip address 10.1.0.2 and B with private ip address 10.1.0.4 on server A I have a docker container that runs postgres database On server B have a pod that tries to ...
Jonas's user avatar
  • 1
0 votes
0 answers
11 views

Contact Service DNS from another subnet of Kubernetes Cluster

I have a Kubernetes Cluster with its VNet and in the Kubernetes Cluster VNet I have two (or more) subnets: aks-subnet with 10.224.0.0/16 where PODs are taking their IPs (default / created with ...
Stavros Koureas's user avatar
0 votes
0 answers
9 views

Why aren't the iptables `pkts` and `bytes` count getting updated for Docker Containers, on receiving tcp packets?

I'm currently running NixOS-23.11, without any special configuration for docker, just the default install from nixpkgs. I have the following Dockerfile definition: FROM alpine:latest COPY ./index.html ...
Noel Kwan's user avatar
0 votes
0 answers
19 views

Best practice to share host NAT interface to Docker containers

Our bare-metal virtual machines are behind a NAT for firewall and security, so basically each machine has a 192.168.x.x interface and connects to the internet via the gateway. On machine Web we run ...
Shayan's user avatar
  • 101
0 votes
0 answers
17 views

How to test the connection from AWS to an on-premise, private API?

I have an API running in an on-premise K8s cluster. I plan to use AWS for load balancing/access/auth/etc to expose this API to the public internet. To forward requests from AWS to my API, I am ...
dvidg's user avatar
  • 101
0 votes
1 answer
115 views

Bind dedicated ip to docker container in Windows Server 2022

I have a Windows server 2022 host and on it, I launched a docker container running the same Windows server core OS. This server has 2 IPs attached to it and I want one of them to be assigned only to ...
Vadim's user avatar
  • 1
0 votes
1 answer
263 views

Ignore 'host not found in upstream' in docker swarm environment

I have a problem with nginx configuration in docker swarm environment. I would like to set the nginx service used as a reverse proxy to make the dockerized services communicate, everything works ...
Matteo Pasini's user avatar
0 votes
1 answer
40 views

How to run multiple identical docker containers using jumbo frames?

I am attempting to run multiple (we'll say 2) instances of software in docker. This software is proprietary and 3rd party, so modifying it is not an option, and neither is using docker exec or attach ...
user23564615's user avatar
0 votes
1 answer
57 views

Ensure two node ports have the same IP address

I'm working on setting up a testing environment for my application. Without getting into all of the details, one requirement is that I stand up a container that is listening on two TCP ports. It is ...
Daniel Walker's user avatar
0 votes
2 answers
74 views

Unable to connect to my EventStore docker container

This is my first attempt at setting up docker containers. I've managed to create a SQL Server container that I can connect to, but I've been struggling for more than a month to get my EventStore ...
WynDiesel's user avatar
  • 101
0 votes
1 answer
2k views

How to use uriRegexRewrite in Istio VirtualService?

I was waiting on the Regex Rewrite based on Capture Groups for a long time and it was finally merged in 1.19.4. I cannot find much documentation regarding how to use the uriRegexRewrite and my ...
Sinux's user avatar
  • 11
0 votes
1 answer
157 views

kubernetes access nodeport fails, master cannot reach workers

I've got an on premise kubernetes cluster with a NodePort service running on port 32001. But in 80% of the cases requests fail: curl localhost:32001 times out and sometimes it works, results are ...
Serve Laurijssen's user avatar
0 votes
0 answers
75 views

Using docker-engine unable to access containers (inside WSL2) from host network

Here is the scenario, I was using Docker Desktop with wsl backed engine and whenever I used to run a container inside my wsl for example: docker run -d -p 80:80 somecontainer It was used to be ...
Dakait's user avatar
  • 101
0 votes
0 answers
35 views

Kubernetes networking somehow breaks ROS2 message passing

I have 2 identical docker containers running on separate computers in which I want to run ROS2 nodes communicating with each other (via a VPN). When I run them as docker containers there is no problem ...
clemfandango's user avatar
0 votes
0 answers
33 views

Expose consistent port across many namespaces in a dev k8s cluster

We have a development kubernetes cluster (hosted in EKS) to which engineers push feature branches. Each feature branch creates the same set of Deployments and Services in its own isolated namespace. ...
Endophage's user avatar
  • 101
1 vote
2 answers
2k views

Bandwidth utilization by pod on Kubernetes

Can someone tell me how I can get bandwidth usage per pod in Kubernetes from CLI? Ideally, I need something that will extract bandwidth usage for every pod.
iRakic's user avatar
  • 11
2 votes
3 answers
442 views

How to generate a list of every external URL accessed during docker build?

Is there a straight forward way to generate a .txt file containing each URL (or corresponding IP) visited during a docker build process? Example An example list might look like this: # urls.txt https:/...
stevec's user avatar
  • 185
3 votes
2 answers
1k views

I am looking for a production alternative to kubectl port-forward

I want to know what are production alternatives to make http://192.168.49.2:30001 this accessible http://host_machine_ip:8007 here I have set up minikube cluster with mobile-api service on it. ...
Giorgi Beria's user avatar
1 vote
3 answers
3k views

What is the meaning of the podCIDR field in the Node spec in kubenretes?

I've set up a Kubernetes cluster using kubeadm using the command: $ sudo kubeadm init --pod-network-cidr=192.168.0.0/16 --kubernetes-version=1.24.00 My cluster has 2 worker nodes, and when I run for ...
YoavKlein's user avatar
  • 111
0 votes
1 answer
2k views

Port forwarding rules with Traefik and Docker.Compose

I'm trying to use Traefik to route to a number of services all running using docker-compose. What I'd like to do is access each service with a prefix, eg: 10.20.30.40/u10/xyz and 10.20.30.40/a10/abc ...
user3166273's user avatar
0 votes
1 answer
980 views

Docker port mapping across several IPs on same NIC results in error

I have docker stack running on a Raspberry Pi with docker-compose. It’s been going nicely for about a year now, but now I want to bring it to the next level. The issue is, the stack contains a few ...
Louis Nichols's user avatar
3 votes
2 answers
2k views

What is the usage of the cluster external IP address?

I'm confused about the usage of the cluster external IP address. Is this an address that can be used for ingress to access pods running on the cluster? If so should this be the same as the control ...
Daniel Wood's user avatar
0 votes
1 answer
59 views

OpenStack API Access over secondary ethernet connection or NIC

I am trying to configure my server to utilize a secondary NIC card. I want the server to publish API access on both NICs at the same time. See the attached picture for a configuration diagram that ...
Taylor Eisman's user avatar
1 vote
1 answer
551 views

Why does php-fpm show nginx's IP while they are on different containers?

I am trying to set up an Nginx server for the purpose of load balancing between 4 Php-fpm servers. You can access my docker configuration files from this Github repository. My containers' network ...
NewUser's user avatar
  • 13
0 votes
1 answer
490 views

How do I disable ICMP echo responses within a Docker container?

I want to be able to change the /proc/sys/net/ipv4/icmp_echo_ignore_all file from within my Docker container, but I get the bash: /proc/sys/net/ipv4/icmp_echo_ignore_all: Read-only file system error ...
jeppe's user avatar
  • 1
0 votes
1 answer
856 views

How are containers secured with MACVLAN networks?

Containers cannot be connected both to an internal bridge and to the host network at the same time, according to this question. However, this is what I need; I want a set of containers to be connected ...
vpseg's user avatar
  • 11
2 votes
1 answer
696 views

Kubernetes container networking between pods

So I have a few services running using nodejs, in more than one kubernetes pod. These services obviously need to talk to each other, and be able to find the database included in this kubernetes ...
Flotolk's user avatar
  • 125
1 vote
1 answer
81 views

How can I find out what ml2 extension drivers are enabled?

According to this document on "The Networking service internal DNS resolution", a feature I need requires the dns extension driver in OpenStack, [ml2] extension_drivers = port_security,dns ...
Evan Carroll's user avatar
  • 2,251
0 votes
1 answer
291 views

How do you enable the DNS extension to ml2 in OpenStack?

In one doc it says, To enable the internal DNS resolution, the neutron-server service must be configured with the dns_domain config option set to a value other than openstacklocal in neutron.conf ...
Evan Carroll's user avatar
  • 2,251
0 votes
1 answer
22 views

Can I see the values set in `ml2_conf.ini` as a regular OpenStack user (non-admin)?

My company uses a managed instance of OpenStack. I am NOT an administrator on this instance. There is functionality that OpenStack offers behind the enable-ml2-dns configuration options, this is set ...
Evan Carroll's user avatar
  • 2,251
2 votes
1 answer
3k views

How to access a container/service port in swarm without publishing the port to the outside world?

It is possible to docker-compose to forward a port to the container from localhost only, by writing the desired ports configure in docker-compose.yml, e.g. 127.0.0.1:8080:80. In docker swarm this does ...
Олег's user avatar
0 votes
1 answer
37 views

Ansible network automation: log all commands from multiple plays

I'm trying to write a script to publish basic configurations for any new devices. Also to assert compliancy of basic configuration for devices in production. Trying to gather all the lines executed, ...
tintin's user avatar
  • 103
0 votes
1 answer
130 views

Random delay in port binding for distributed_virtual_router and router_centralized_snat in openstack neutron

I have created a private network called "Private_Network" in the range of 192.168.220.0/24 plus a virtual router called "Virtual_Router" inside openstack which is connected to the ...
Amir0015's user avatar
1 vote
2 answers
64 views

Routing traffic from abc.com to xyz.com/abc

What is the most reliable way to route traffic from abc.com to xyz.com/abc? How does the server at xyz.com know for sure how to route the traffic to the /abc path? I understand that it might be a lot ...
Alexander Mills's user avatar
1 vote
1 answer
1k views

Why do I get "Connection Refused" when attempting to connect to IPFS API using HTTP?

Created a Digital Ocean Ubuntu 20.04 droplet and setup an IPFS server node in it based on this tutorial. If I run the following command in the server ipfs swarm peers I get the expected results In ...
Tiago Peres's user avatar
1 vote
1 answer
184 views

How to migrate away from `docker-machine create`?

I have an old script that uses docker-machine create to create an number of Hyper-V VMs and run a server application inside each one, using docker. It was done this way because the application ...
Craig's user avatar
  • 151
2 votes
1 answer
654 views

What parts of Kubernetes can have IP addresses?

Our network team says there an IP address in a subnet is being claimed and released seemingly at random. They are wondering if Kubernetes could be doing it. I know that Pods, Services and Nodes can ...
Vaccano's user avatar
  • 206
3 votes
1 answer
773 views

Point docker container DNS to specific port?

I was wondering if it was possible to assign the DNS server a docker container is querying (via docker run --dns, or otherwise) to be on a specific port, something other than 53? I had built a custom ...
Klaus's user avatar
  • 31
2 votes
1 answer
3k views

What do skipped, rescued, and ignored results mean in ANSIBLE playbook execution?

What do skipped, rescued, and ignored results mean in an Ansible playbook execution? What would be a possible scenario where these results would be different from 0? PLAY RECAP ************************...
Alic Antunez Cruz's user avatar
1 vote
1 answer
717 views

Ansible cli_command loop register issues

I can't seem to get the register to works with cli_command and looping of multiples commands. Any suggestions? - name: Run show commands hosts: - all connection: network_cli gather_facts: ...
chester's user avatar
  • 11
0 votes
2 answers
468 views

Reaching a Docker environment running in VMware from LAN

Here is my setup: I have a Ubuntu 20.04.2 LTS machine running in VMware (vSphere client). On this machine, I have a local Drupal website running in Docker using Wodby Docker4Drupal https://github.com/...
MrUpsidown's user avatar
0 votes
2 answers
399 views

Limit throughput between Jenkins and Jenkins Agent

I am trying to find a way to throttle the thruput on the request of our Network folks. They want me to not exceed 5.5Mb/sec. Is there a way to do this within Jenkins. Looking at the config files under ...
Eric C's user avatar
  • 105
0 votes
2 answers
246 views

Service to service communication - through proxy or direct?

A common scenario is two or more services behind a reverse proxy, typically each deployed in a container: | service 1 | | service 2 | \ / \ / ...
jramm's user avatar
  • 101
1 vote
1 answer
293 views

How to create a local network mapping in linux

I'm deploying nextcloud via docker, however the way the configuration is set up, it creates a subnetwork at 10.10.10.0/24 on the system it's running on instead of running it on 127.0.0.1. Then the ...
Cmertin's user avatar
  • 21
1 vote
1 answer
121 views

AWS Inspector "High Risk" : port open to the internet with IP whitelisting

We use AWS Inspector to identify risks with our AWS assets. Today I received a finding, with a "high" severity. The finding said that the FTP port was open to the internet. However, after ...
Konrad's user avatar
  • 123
1 vote
1 answer
2k views

Isolate service networks with Docker Compose

I have two containerised services, A and B, with which I wish to isolate network communications with docker compose. There is also a shared service C which is not isolated from A or B and is free to ...
progress's user avatar
-1 votes
1 answer
4k views

Cannot resolve services with service name inside a kubernetes pod

I cannot access a pod from another pod with its service name. Getting error as cannot resolve host svcname When i try to view the information of /etc/resolv.conf, i do see ec2.internal as searches ...
ADHITHYA SRINIVASAN's user avatar
4 votes
1 answer
432 views

K8s cluster in peered VPC can't reach RDS cluster

I have two K8s clusters in the same VPC that I want to connect to an MySQL Aurora RDS cluster. One of the clusters can reach the RDS cluster just fine. The other, however, cannot. I'll call these eks-...
Zachary Delano's user avatar
0 votes
1 answer
66 views

iptables rules to permit GitHub Actions from breaking (chains default to DROP)

Assuming my iptables rules default to DROP on the INPUT and OUTPUT chains, what is the bare minimum set of rules that I must add to my chains to prevent a script running in GitHub Actions from ...
Michael Altfield's user avatar