# Can't connect to kafka private cluster via peering from pod in kubernetes

**URL:** <https://forum.confluent.io/t/cant-connect-to-kafka-private-cluster-via-peering-from-pod-in-kubernetes/7105>\
**Category:** Confluent Cloud\
**Created:** [26 January 2023 15:31 UTC](https://forum.confluent.io/t/cant-connect-to-kafka-private-cluster-via-peering-from-pod-in-kubernetes/7105 "2023-01-26T15:31:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmmartin](https://avatars.discourse-cdn.com/v4/letter/p/ebca7d/32.png) [@pmmartin](https://forum.confluent.io/u/pmmartin)\
**Post date:** [26 January 2023 15:31 UTC](https://forum.confluent.io/t/cant-connect-to-kafka-private-cluster-via-peering-from-pod-in-kubernetes/7105/1 "2023-01-26T15:31:56Z")

</div>

Hi all,  
I have deployed a dedicated cluster in a private network peered with a google cloud project. In that project I have a kubernetes cluster and several standalone virtual machines.  
The case is that I can connect from standalone vm’s but it’s impossible to connect from a container inside a pod in the kubernetes cluster.  
I have tried import routes from the peering but It seems as some firewall or something is blocking the connection in confluent cloud part.  
Am i missing something?  
Thanks!!!
