Firewalld blocking connections When Using NVMe-TCP on RHEL

Audience
Public
Content Type
Source Type
Knowledge Base

Firewalld blocking connections When Using NVMe-TCP on RHEL

KB0022964
Resolution
# Temporarily disable for testing
sudo systemctl stop firewalld

# Test connection
sudo nvme connect -t tcp -a <portal_ip> -s 4420 -n <nqn>

# If works, add proper firewall rules
sudo firewall-cmd --permanent --add-port=4420/tcp
sudo firewall-cmd --reload

# Re-enable firewall
sudo systemctl start firewalld