How to access service deployed on Azure Kubernetes(Linux)

Hello Guys,

I am new to Kuberntes and doing one POC to create a .Net based Web API and deplo y in Kubernets(OS-Linux). I created the service and deployed on Kubernetes using below reference URL.

My service is working fine locally (without deploying in Kubernetes) but I am unable to browse the the service into browser after deployment in Kubernetes.
I am not sure how to access the service internally and externally and need help from community expert.

I am trying to browse the service as below
http://:port/api/student where /api/student is my service URI

But I am getting below error in browser.

The below are some information which might be helpful to point out issue.

Kubernetes version: 1.15.10
Cloud being used: Public Cloud
Installation method: using Azure CLI Command - followed the below URL to create and deploy service.


Host OS: Linux

The below are my deployment file(.yml)

apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: webapiaksstudent
spec:
replicas: 1
template:
metadata:
labels:
app: webapiaks
spec:
containers:
- name: webapiaks
image: webapiacr.azurecr.io/webapiaks:v1
ports:
- containerPort: 80

apiVersion: v1
kind: Service
metadata:
name: webapiaks
spec:
ports:
- name: http-port
port: 80
targetPort: 80
selector:
app: webapiaks
type: LoadBalancer

I am struggling from last 2 days, please help me on how to browse the service internally and externally.

Thanks in advance.

Regards,
Arvind Singh