Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • Learn more about Agile
        • Agile Webspace
        • Everything Agile
          • The Agile Manifesto
          • Best Practices
          • Retro Recipes
        • Methodologies
          • The Scrum Framework
          • Kanban
          • Extreme Programming
        • Roles
          • The Product Owner
          • The Agile Coach
          • The Quality & UX Coach (QX)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
  • Swag Shop
  • Downloads
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

NATS communication port usage

Solved101 views26th June 2025NATS
5
Robin Devos [SLC] [DevOps Advocate]2.55K 23rd June 2025 0 Comments

It appears that NATS is using quite some bidirectional connections between ports 4222 <=> ~[49500;55000].

After a quick count, there are about 170 connections found via netstat for port 4222. So 85 connections from 4222 to ... and 85 connections from ... to 4222:

We have an application that uses a webhook in the port range of 50000 and there's a concern that NATS will take over these port(s), making the webhooks rather impossible.

Is this normal behavior + should there be such a concern?
Can/should this be configured?

Robin Devos [SLC] [DevOps Advocate] Selected answer as best 26th June 2025

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Wouter Demuynck [SLC] [DevOps Advocate]6.03K Posted 23rd June 2025 0 Comments

Hi,

Windows uses the port range 49152-65535 as a dynamic client port range, in which it hands out client ports to applications that want to make outgoing connections (in this case NATS).

Typically it is not recommended to use listening ports in this range, as the port might be in use when the application wants to start listening. However, once a listening port (such as 50000) is open, I don't believe Windows will hand out that port to any client application.

So:

  • Before the webhook is active on port 50000, any client application might start using port 50000 for outgoing connections and prevent the webhook from initializing properly
  • once the webhook is active/listening, its port cannot get taken over until it stops listening.

Hope this helps

Robin Devos [SLC] [DevOps Advocate] Selected answer as best 26th June 2025
You are viewing 1 out of 1 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin