Failed to open publish sockets.

On my RHEL server when I run the
MATALAB_ROOT/toolbox/parallel/bin/startjobmanager
script, I get the error:
"The mjs service on the host <hostname> returned an error.
The cause of the problem is:
failed to open publish sockets. Cannot publish SRV record.
This is causing:
null.
This is causing:
Problem starting the job manager lookup process. "
What does that mean?

Answers (1)

Hi Michael,
This error means the MATLAB Job Manager can’t open the network ports it needs to advertise itself.
Most common causes:
  • Firewall is blocking the required ports (27350–27450).
  • Another process is using those ports.
  • SELinux or permissions are blocking socket creation.
  • Network misconfiguration (hostname/IP issue).
Quick fix steps:
1.Open the required ports on your firewall:
sudo firewall-cmd --permanent --add-port=27350-27450/tcp
sudo firewall-cmd --reload
2.Make sure no other process is using those ports.
3.Check SELinux (getenforce) and set to permissive for testing (setenforce 0).
4.Ensure your server has a valid IP address and hostname.

1 Comment

Michael
Michael on 20 Jan 2026
Edited: Michael on 20 Jan 2026
Thanks for your help. My apologies for the delayed response. The Firewall and SELinux were not the problem in this case. I did a complete un-install and re-install, and now it works. It appears that I corrupted something on the original install. Thanks again.

Sign in to comment.

Categories

Products

Release

R2023a

Asked:

on 15 Dec 2025

Edited:

on 20 Jan 2026

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!