Why can’t I ping my docker container? ? ?

  docker, question

I am win10 system, I have mapped one of docker’s containers, as shown in the figure, but I am on win10 host computer.
C:Userstentou>telnet localhost 32786
Connecting to localhost … unable to open connection to host. On port 32786: connection failed
Why is this? ?

First of all, I don’t know if your configuration is correct, but I think the concept is mixed up.

Ping is to test whether ip or domain name is connected?

Telnet is the test port?