Explainer

What is a proxy hostname? Host, port and how to find yours

The proxy hostname is the server name in host:port. We tested what a proxy receives, what the name costs, and what Android's Proxy hostname field accepts.

HProxy Team··Updated October 10, 2026·10 min read
HProxy.Explainer

Skip the dead lists.

Our free proxy list re-checks every exit every few minutes across 100+ countries, with a live last-checked time, so you copy IPs that worked moments ago, not a stale text dump.

Open the free proxy list→

A proxy hostname is the name of the proxy server your device connects to: the host part of host:port. In premium.hproxy.com:10000, the hostname is premium.hproxy.com and the port is 10000. Your device looks the name up in DNS, connects to the address it gets back, and sends its traffic through that server. It is not the website you visit and not the name of your computer. If a settings screen asks for a proxy hostname and you use no proxy, leave the proxy off.

We tested the parts that other explanations only describe, on 10 October 2026. We measured how our own gateway's hostname resolves and what the name costs. We recorded what a proxy receives from a client. And we ran Android's own check on 16 entries, to show what its Proxy hostname field accepts.

What does a proxy hostname look like?

It is usually a domain name, sometimes a bare IP address. Providers hand it over in one of a few shapes:

Where you see itExampleThe hostname in it
A provider's proxy linepremium.hproxy.com:10000:USER:PASSpremium.hproxy.com
A proxy URLhttp://USER:PASS@premium.hproxy.com:10000premium.hproxy.com
A line with an IPv4 address203.0.113.10:8080203.0.113.10
A proxy URL with an IPv6 addresshttp://[2001:db8::10]:80802001:db8::10
Android's grey hint textproxy.example.com, port 8080proxy.example.com

Our API documentation describes generated lines as host:port:username:password, so the hostname is always the first field. The curl manual writes a proxy as [protocol://]host[:port], and warns that without a port "it is assumed to be 1080". An IPv6 address goes in square brackets inside a URL. RFC 3986 (IETF, January 2005) reserves the brackets for exactly that.

A hostname follows the old rules for host names. RFC 952 (October 1985) allows letters, digits, the minus sign and the period, and "no blank or space characters". RFC 1123 (October 1989) lets the name start with a digit. RFC 1035 (November 1987) limits each label to 63 octets and the whole name to 255. An underscore is not on that list.

How does your device use the proxy hostname?

It asks DNS for the address behind the name, then opens a connection to that address and the port. We looked up our own gateway, premium.hproxy.com, through three public resolvers and its own name server on 10 October 2026. It had one IPv4 (A) record, no IPv6 (AAAA) record and no alias. A hostname can also stand for several addresses: hproxy.com returned two IPv4 and two IPv6 addresses that day.

The record carried a TTL of 300 seconds. RFC 1035 defines the TTL as "the time interval (in seconds) that the resource record may be cached before it should be discarded". So a client that uses the name learns about a moved gateway within about five minutes.

Which name goes where

The website's name does not go to your DNS. It goes to the proxy, inside the request. We showed this on our server with a 60-line logging proxy that answers by itself and relays nothing. Then we pointed curl 8.5.0 at it.

Terminal output on our server. Through a logging proxy on localhost, curl resolves only localhost, connects to 127.0.0.1, and sends GET http://example.com/ HTTP/1.1 for an http address and CONNECT example.com:443 HTTP/1.1 for an https address; the proxy logs the same lines. Without the proxy, curl resolves example.com itself and connects to its address on port 80.
Our server on 10 October 2026, 19:24 UTC. The proxy runs on localhost and relays nothing. Screenshot of our own terminal.

Through the proxy, curl resolved one name, localhost, which was the proxy hostname. It never looked up example.com. For the http address it sent GET http://example.com/ HTTP/1.1, and for the https address it sent CONNECT example.com:443 HTTP/1.1. Without the proxy, curl resolved example.com itself. RFC 9112 (IETF, June 2022) requires exactly this. A request to a proxy carries the full address in "absolute-form", and a CONNECT request carries "only the uri-host and port number of the tunnel destination".

Not every client does what curl does. A 2020 Stack Overflow question shows Java resolving the website itself and sending CONNECT with an IP address. For SOCKS proxies, the choice is explicit: our SOCKS4 vs SOCKS5 page tests who resolves the name with each setting.

Which three hostnames take part in a proxied request?

Three names are easy to mix up. Only the first one is the proxy hostname.

Proxy hostnameTarget hostnameReverse name of the exit address
What it namesThe proxy server you connect toThe website you wantThe address the website sees
Examplepremium.hproxy.comexample.comdns.google for 8.8.8.8
Who types itYou, in the proxy settingsYou, in the browser or the scriptNobody; whoever runs that network of addresses sets it
Who looks it upYour deviceThe proxy, with HTTP proxies and socks5hAnyone who asks DNS about the address
Where it travelsYour DNS queryInside the proxy requestA PTR query for the address

The third one answers a common search, "hostname of IP address". RFC 1035 describes a special domain, in-addr.arpa, "to support gateway location and Internet address to host mapping". We asked for three reverse names on 10 October 2026. 8.8.8.8 returned dns.google., 1.1.1.1 returned one.one.one.one., and 9.9.9.9 returned dns9.quad9.net.. The mapping is not one to one: dns.google points back to two addresses, 8.8.8.8 and 8.8.4.4.

What does Android's Proxy hostname field accept?

Android puts the proxy inside each Wi-Fi network's advanced options. The choices are None, Manual and Proxy Auto-Config. Manual shows three boxes: Proxy hostname, Proxy port and Bypass proxy for. The grey hints read proxy.example.com and 8080. These labels come from the Settings app in Android's open-source code.

The rule behind the hostname box is one line of code. Android's ProxyUtils matches the hostname against letters, digits, hyphens and dots, and requires a port from 1 to 65535. We copied that rule and ran it on 16 entries:

What you typePortWhat Android does
premium.hproxy.com10000Accepts it
203.0.113.1010000Accepts it
http://premium.hproxy.com10000Rejects the hostname
premium.hproxy.com:1000010000Rejects the hostname
USER:PASS@premium.hproxy.com10000Rejects the hostname
2001:db8::10 (IPv6)10000Rejects the hostname
my_proxy.example.com8080Rejects the hostname (underscore)
premium.hproxy.com with a space before it, or a dot after it10000Rejects the hostname
premium.hproxy.comemptyAsks for the port
premium.hproxy.com70000 or 0Rejects the port

The bypass list follows the same alphabet plus *, separated by commas. example.com,*.local,localhost passed. The same list with a space after a comma failed.

On the Wi-Fi network screen, a failed check shows no message. Android's code simply keeps the Save button disabled. That matches what people report. A 2014 question on Android Stack Exchange describes a Save button that "grays out" the moment Proxy is set to Manual. Another asks why slashes are not allowed in the proxy setting. Android's Settings also carries a warning worth reading: "The HTTP proxy is used by the browser but may not be used by the other apps". Our Android proxy setup guide walks through the screens step by step.

Should you use the hostname or the IP address?

Use the hostname your provider gives you. We measured the price of the name on our server in three runs, going through our gateway by name and by its address. Every request was refused with a 407, so nothing was relayed. The name added one DNS lookup, with a median of 2.5 to 2.9 ms and a maximum of 47.1 ms. The connection setup to the gateway took a median of 165 to 188 ms either way.

HostnameIP address
Extra stepOne DNS lookup, a median of 2.5 to 2.9 ms in our testNone
When the provider moves the gatewayFollows the new address within the TTL, 300 seconds for our gatewayStops working until you change it
Several servers behind one entryPossible, as hproxy.com showsOne server per address
Typing it on AndroidAllowedAllowed for IPv4, refused for IPv6

Our documentation gives the same advice for code: "treat lines as opaque and use them verbatim". Windows shows how loose the labels are. Its box is called "Proxy IP address", yet Microsoft's help page says to "enter the proxy server name or IP address" there.

How do you find your proxy hostname?

If you pay for proxies, the hostname is in your provider's dashboard or in each line it generates. If your device already uses a proxy, the operating system shows it:

  • Windows. Open Settings, Network & internet, Proxy. The manual setup box is called Proxy IP address, but a name works there too.
  • Mac. Open System Settings, Network, your service, Details, Proxies. Each proxy type shows a server address and a port.
  • iPhone. Open Settings, Wi-Fi, and tap the Info button next to the network. The proxy sits under HTTP Proxy, per network.
  • Android. Open the Wi-Fi network's settings and its advanced options. With Proxy on Manual, the name is in Proxy hostname.
  • curl. Look at the -x option or the proxy environment variables. The hostname is the host part of [protocol://]host[:port].

If none of these shows a proxy, you are not using one. On Android, leave Proxy set to None. A phone or a Wi-Fi network has no hostname of its own to put there.

What a proxy hostname is not

  • Not encryption. It is only a name for an address. Our logging proxy read every request line and Host header in plain text. One ranking page claims that the proxy hostname encrypts your traffic; it does not.
  • Not your exit address. The hostname names the gateway you reach. The address a website sees can be another one, and on a rotating network it changes while the hostname stays the same.
  • Not a promise that every app uses it. Android's own warning says other apps may ignore the Wi-Fi proxy.

Where to go from here

To see the address and headers a website receives from your browser, use our proxy IP checker. For the basics of how a proxy works, read what is a proxy. On our network, Residential Premium lines carry the hostname premium.hproxy.com, from the residential proxies page.

What this page could not check

Android's rule is read from the open-source code on its main branch, and we ran it on a computer, not on a phone. Phone makers can change their Settings app, and older Android versions may differ. The DNS cost and the TTL were measured from one server in the US, on one day, against one gateway. Clients other than curl may resolve the website's name themselves, as the Java example shows, and we did not test them. Apple's iPhone guide names the path to the proxy but not the labels on the screen. The next review of these facts is due by 10 January 2027.

Sources

Frequently asked questions

What is a proxy hostname?
It is the name of the proxy server your device connects to, the host part of host:port. In premium.hproxy.com:10000 the hostname is premium.hproxy.com and the port is 10000. Your device looks the name up in DNS, connects to the address it gets back, and sends its traffic through that server.
What do I put in Proxy hostname on Android?
Only the proxy server's name or IPv4 address, such as proxy.example.com or 203.0.113.10, and the port in its own box. Android's own check accepts letters, digits, hyphens and dots. It refuses http://, a port, a login, an underscore, a space, a trailing dot and an IPv6 address. If you do not use a proxy, set Proxy to None.
Why does the Save button stay grey on Android's proxy settings?
Because something in Proxy hostname, Proxy port or Bypass proxy for fails Android's check. On the Wi-Fi network screen, Android's Settings code turns Save off instead of showing a message. Remove http:// and any port from the hostname, put the port in its own box, and write the bypass list with commas and no spaces.
Is the proxy hostname the website I want to visit?
No. The proxy hostname is where your device connects. The website's name travels inside the request: through an HTTP proxy, curl sent GET http://example.com/ or CONNECT example.com:443 to the proxy, and the proxy looked up example.com itself.
Should I use the proxy hostname or its IP address?
Use the hostname your provider gives you. In our test the name cost one DNS lookup with a median of 2.5 to 2.9 ms, against a connection setup of 165 to 188 ms. In return, a provider can move the gateway and your settings keep working.
What is the hostname of an IP address?
It is the reverse name stored for that address in DNS, a PTR record. 8.8.8.8 returns dns.google and 1.1.1.1 returns one.one.one.one. It is a different thing from a proxy hostname, which is the name you connect to.

Get proxies that are alive right now

Our free proxy list re-checks every exit every few minutes across 100+ countries, with a live last-checked time, so you copy IPs that worked moments ago, not a stale text dump. When the location has to survive a real check, the paid network holds up.

129M+ proxy checks run · 100+ countries · HTTP / HTTPS / SOCKS · re-checked every few minutes · no signup

HProxy.

Honest guides and comparisons on proxies, scraping and staying unblocked, from the team that runs the network.

RSS feed