Unable to setup iSCSI connection using custom port number

Solution Verified - Updated -


  • We are trying to discover iSCSI storage using custom port number 3261 and it was found that iSCSI target discovery succeeds, but the login process fails with following error:

    $ iscsiadm -m discovery -t st -p,2 iqn.rhv.demo.iscsi:iscsilun
    $ iscsiadm -m node -T iqn.rhv.demo.iscsi:iscsilun  -p -l
    Logging in to [iface: default, target: iqn.rhv.demo.iscsi:iscsilun, portal:,3261]
    iscsiadm: Could not login to [iface: default, target: iqn.rhv.demo.iscsi:iscsilun, portal:,3261].
    iscsiadm: initiator reported error (8 - connection timed out)
    iscsiadm: Could not log into all portals
  • The same target could be accessed without any issues while using default iSCSI port 3260.


  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Virtualization 4
  • iSCSI SAN configured to use custom port - 3261
  • SELinux enabled

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In