# How to find the server address in an M3U URL

> Read the server address, username, and password from an M3U URL so you can fill in the Xtream Codes fields in an IPTV app.

An M3U list is a text file that holds the information for a [channel list](https://iptvfiesta.sx/help-center/article/what-is-bouquet): the channel names, the **URL** of each channel source, and the channel reference number. The channels are divided into groups of countries so you can find them faster. M3U is the most used format on all IPTV devices.

Some apps ask for a **Server Address**, a **Username**, and a **Password** in their settings. IPTV Smarters and GSE with the Xtream Codes API are two examples. See [how to set up IPTV Smarters](https://iptvfiesta.sx/help-center/article/how-to-setup-iptv-on-iptv-smarters) and [how to set up GSE with the Xtream Codes API](https://iptvfiesta.sx/help-center/article/how-to-setup-iptv-on-gse-via-xtream-codes-api).

## Find the server address in an M3U URL

The M3U URL holds all three details. Finding them is not complicated, just a little confusing. Here is a sample M3U URL:

`http://Server.Address/get.php?username=ABCD&password=EFGH&type=m3u_plus&output=ts`

1. Find the server name in the first part of the URL, before `get.php`.
2. Find the username after `username=`.
3. Find the password after `password=`.

![M3U URL diagram with the server name, username, and password labeled](https://iptvfiesta.sx/api/help-center/media/2021-08-Server-address-in-m3u-url-2.jpg)

These are the values for an IPTV setup:

| Detail | Value |
| --- | --- |
| Server Address | `http://Server.Address/` |
| Username | `ABCD` |
| Password | `EFGH` |

Enter each value in the matching field of your IPTV app.
