Why third party software is failing to start only after enabling iptables on the system?

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Linux (Any Version)
  • Iptables enabled.
  • Third party application running

Issue

  • Not able to connect to distribution server on port 41415 after enabling iptables.
  • The following error is shown.
[info 2014/01/15 10:22:12.410 GMT  <Timer-4> tid=0x1a] Could not connect to distribution locator  server1 <v0>:41415: java.net.NoRouteToHostException: No route to host

Resolution

  • Check the ports/ips on which the third party software / application runs.
  • Add iptables rule to allow traffic from/to those ports and then run the application.
  • Issue resolved after making changes in the application.

Root Cause

  • Ports on which software/application was running were blocked in iptables.

Diagnostic Steps

  • Verify iptable rules with application vendor?
  • How client connecting to server? How many systems are involved and how it works?
  • Collect the sosreport and check the iptables logs.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.