Service connectivity

HI team,
I have built ubuntu and deployed as sts in kubernets cluster now i am running a small service inside the ubuntu pod and inside the pod if i curl like curl http://127.0.0.1:8000/quer i am getting the response, now if i want to connect from out side of the pod via service like clusterIP: port or any other service type how to do that i mean how to connect the service running inside the pod by kubernets service concept