Heartbeat kibana mongodb

I found my error. in my heartbeart.yml there was a typo

- type: tcp
  name: instance
  enabled: true
  schedules: "@every 5s"
  ports: [80]

I typed schedules instead of schedule and this does not throw any syntax error, it simply ignore all the block of code.

I would like to ask an info that i couldnt find online. My instance is running on port 80, is there anyway how i can check the if there is any service running on port 80 without specifying any public or private IP? i want to check specificly the port. Because i guess i can just give a private IP to my instance and connect that private IP as it will be static, while the Public is dynamic..i was wondering if with elasticsearch or heartbeat i can target just the port alone.

because i tried with this:

- type: tcp
  name: instance
  enabled: true
  schedule: "@every 5s"
  ports: [80]

but is not working.

Thank you again in advance