# Not able to access AWX portal via server ip, currently its is working on local host

**URL:** <https://forum.ansible.com/t/not-able-to-access-awx-portal-via-server-ip-currently-its-is-working-on-local-host/41845>\
**Category:** Get Help\
**Tags:** awx\
**Created:** [April 21, 2025, 6:36am UTC](https://forum.ansible.com/t/not-able-to-access-awx-portal-via-server-ip-currently-its-is-working-on-local-host/41845 "2025-04-21T06:36:19Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manmeet\_singh](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/manmeet_singh/32/8191_2.png) [@Manmeet\_singh](https://forum.ansible.com/u/Manmeet_singh)\
**Post date:** [April 21, 2025, 6:36am UTC](https://forum.ansible.com/t/not-able-to-access-awx-portal-via-server-ip-currently-its-is-working-on-local-host/41845/1 "2025-04-21T06:36:19Z")

</div>

Hello, I have deployed AWX with the help of KIND clusters and Currently AWX portal is opening on local host but i want to use the server ip to access the AWX portal.  
Below is the o/p of deployment file.

apiVersion: [awx.ansible.com/v1beta1](http://awx.ansible.com/v1beta1)  
kind: AWX  
metadata:  
name: awx  
namespace: awx  
spec:  
service\_type: nodeport  
ingress\_type: none  
postgres\_storage\_class: standard

O/p of service of awx operator.

[root@AWX-TOWER lib]# kubectl get svc -n awx  
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE  
awx-operator-controller-manager-metrics-service ClusterIP 10.96.162.19 8443/TCP 10d  
awx-postgres-13 ClusterIP None 5432/TCP 10d  
awx-service NodePort 10.96.192.110 80:30902/TCP 10d  
[root@AWX-TOWER lib]#

Please guide how can i expose server ip.

Regards,  
Manmeet Singh

---

<div class="post-metadata">

**Author:** ![iwt-cmd](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/iwt-cmd/32/9120_2.png) [@iwt-cmd](https://forum.ansible.com/u/iwt-cmd)\
**Post date:** [April 21, 2025, 12:37pm UTC](https://forum.ansible.com/t/not-able-to-access-awx-portal-via-server-ip-currently-its-is-working-on-local-host/41845/2 "2025-04-21T12:37:28Z")

</div>

Hi @Manmeet_singh

Welcome to the Ansible forum!

Is this a single node setup or do you have multiple servers in your cluster?

Best regards,

Joe

---

<div class="post-metadata">

**Author:** ![Manmeet\_singh](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/manmeet_singh/32/8191_2.png) [@Manmeet\_singh](https://forum.ansible.com/u/Manmeet_singh)\
**Post date:** [April 22, 2025, 5:31am UTC](https://forum.ansible.com/t/not-able-to-access-awx-portal-via-server-ip-currently-its-is-working-on-local-host/41845/3 "2025-04-22T05:31:20Z")

</div>

Hello @iwt-cmd ,

It is single node setup.

When I deployed AWX , KIND cluster (Kubernetes in Docker) built.

Cluster info is as below.

[root@AWX-TOWER ~]# kubectl cluster-info --context kind-awx  
Kubernetes control plane is running at [https://127.0.0.1:39375](https://127.0.0.1:39375)  
CoreDNS is running at [https://127.0.0.1:39375/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy](https://127.0.0.1:39375/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy)

Regards,  
Manmeet Singh

---

<div class="post-metadata">

**Author:** ![iwt-cmd](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/iwt-cmd/32/9120_2.png) [@iwt-cmd](https://forum.ansible.com/u/iwt-cmd)\
**Post date:** [April 22, 2025, 12:44pm UTC](https://forum.ansible.com/t/not-able-to-access-awx-portal-via-server-ip-currently-its-is-working-on-local-host/41845/4 "2025-04-22T12:44:58Z")

</div>

I don’t have experience with KIND so there may be some other config that you need but have you tried going to https://\<ip\_of\_KIIND\_node\>:30902?

The KIND documentation seems to point an additional config needed at cluster creation time if you’re using the Docker Desktop application but that’s not needed if you’re just running Docker from the CLI. The extra port mappings also appear to be needed if you’re traffic is originating from outside the host that is running KIND.  
[kind – Configuration](https://kind.sigs.k8s.io/docs/user/configuration/#networking)

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/9/92d6e1bb17ae410a075ea609938fda0ca0133416.png)

---

<div class="post-metadata">

**Author:** ![Manmeet\_singh](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/manmeet_singh/32/8191_2.png) [@Manmeet\_singh](https://forum.ansible.com/u/Manmeet_singh)\
**Post date:** [April 23, 2025, 5:12am UTC](https://forum.ansible.com/t/not-able-to-access-awx-portal-via-server-ip-currently-its-is-working-on-local-host/41845/5 "2025-04-23T05:12:22Z")

</div>

Hello @iwt-cmd

I tried to hit [http://10.96.192.110:30902/](http://10.96.192.110:30902/) with no success.

I have used LINUX instance to host this.

Regards,  
Manmeet Singh

---

<div class="post-metadata">

**Author:** ![iwt-cmd](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/iwt-cmd/32/9120_2.png) [@iwt-cmd](https://forum.ansible.com/u/iwt-cmd)\
**Post date:** [April 23, 2025, 12:39pm UTC](https://forum.ansible.com/t/not-able-to-access-awx-portal-via-server-ip-currently-its-is-working-on-local-host/41845/6 "2025-04-23T12:39:24Z")

</div>

Is 10.96.192.110 on your local network? Kubernetes and Docker both setup internal only networks to allow pods/containers to communicate but those addresses aren’t generally accessible from the outside. That 10.96… address looks like one of those internal networks.

If you feel comfortable, you can also post the output of “ip addr” on the KIND host and we can verify.

Best regards,

Joe

---

<div class="post-metadata">

**Author:** ![Manmeet\_singh](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/manmeet_singh/32/8191_2.png) [@Manmeet\_singh](https://forum.ansible.com/u/Manmeet_singh)\
**Post date:** [April 24, 2025, 7:15am UTC](https://forum.ansible.com/t/not-able-to-access-awx-portal-via-server-ip-currently-its-is-working-on-local-host/41845/7 "2025-04-24T07:15:22Z")

</div>

Hello Joe,

I tried port forward to 8080:80 to awx service with this command

/usr/local/bin/kubectl port-forward --address 0.0.0.0 service/awx-service -n awx 8080:80

and now i can access the awx portal on my serverip:8080.

Thanks for all your reverts, Will monitor the environment for few weeks before moving it to production. Will post if i need any help.

Regards,  
Manmeet Singh

---

<div class="post-metadata">

**Author:** ![iwt-cmd](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/iwt-cmd/32/9120_2.png) [@iwt-cmd](https://forum.ansible.com/u/iwt-cmd)\
**Post date:** [April 24, 2025, 2:33pm UTC](https://forum.ansible.com/t/not-able-to-access-awx-portal-via-server-ip-currently-its-is-working-on-local-host/41845/8 "2025-04-24T14:33:06Z")

</div>

Glad you got it working! One thing to remember is that if the host reboots, that you will probably have to rerun the kubectl port-forward command. Before you move to production, you may want to test this and look into if KIND can handle this port-forwarding within a config that will survive reboot or create a start-up task (crontab, systemd service, etc…) on the host to run the port-forward automatically.

Best regards,

Joe

---

<div class="post-metadata">

**Author:** ![Manmeet\_singh](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/manmeet_singh/32/8191_2.png) [@Manmeet\_singh](https://forum.ansible.com/u/Manmeet_singh)\
**Post date:** [April 25, 2025, 4:52am UTC](https://forum.ansible.com/t/not-able-to-access-awx-portal-via-server-ip-currently-its-is-working-on-local-host/41845/9 "2025-04-25T04:52:29Z")

</div>

Thanks Joe, I already configured Systemd service for port forwarding.

I will definitely test the behavior on rebooting this machine.

Appreciate your response.

Regards,  
Manmeet Singh
