HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/gamelift/describe-fleet-port-settings.rst
**To view inbound connection permissions for a fleet**

The following ``describe-fleet-port-settings`` example retrieves connection settings for a specified fleet. ::

    aws gamelift describe-fleet-port-settings \
        --fleet-id arn:aws:gamelift:us-west-2::fleet/fleet-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111

Output::

    {
        "InboundPermissions": [
            {
                "FromPort": 33400,
                "ToPort": 33500,
                "IpRange": "0.0.0.0/0",
                "Protocol": "UDP"
            },
            {
                "FromPort": 1900,
                "ToPort": 2000,
                "IpRange": "0.0.0.0/0",
                "Protocol": "TCP"
            }
        ]
    }

For more information, see `Setting Up GameLift Fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html>`__ in the *Amazon GameLift Developer Guide*.