Difference between container port and host port

2,749 views
Skip to first unread message

neerav arora

unread,
Apr 1, 2017, 6:23:40 AM4/1/17
to Kubernetes developer/contributor discussion
Hi all ,

I want to know what is the difference between container port and host port ?

Regards
Neerav 

Tim Hockin

unread,
Apr 1, 2017, 12:10:02 PM4/1/17
to neerav arora, Kubernetes developer/contributor discussion
Container port is available on the container IP.  Hostport is available on the machine's IP.  Hostport is generally a way to do things with infrastructure that you might not be able to achieve.  It should be a last resort.

--
You received this message because you are subscribed to the Google Groups "Kubernetes developer/contributor discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-dev+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-dev@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-dev/ab473237-62a8-4096-b5fc-6fabb2d31760%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages