| Description | This article describes how to resolve the issue of the error 'Unable to get host and port for gateway 0' on iOS devices for SAML auth |
| Scope | FortiClient iOS, FortiClient EMS. |
| Solution |
Sometimes, when connecting to an IPSec VPN by using SAML authentication on an iOS device, it shows the error 'Unable to get host and port for gateway 0'.
This is usually caused by no SAML port is defined in the assigned IPSec VPN profile. Go to EMS -> Endpoint Profiles -> Remote Access, select the assigned profile, edit the tunnel that is being used and select the Advanced Settings. Confirm that the SAML port is defined here.
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.