{"id":188,"date":"2026-11-01T21:30:00","date_gmt":"2026-11-01T16:00:00","guid":{"rendered":"https:\/\/proxykite.com\/blog\/?p=188"},"modified":"2026-11-01T21:30:00","modified_gmt":"2026-11-01T16:00:00","slug":"what-is-proxy-hostname","status":"publish","type":"post","link":"https:\/\/proxykite.com\/blog\/what-is-proxy-hostname\/","title":{"rendered":"What Is a Proxy Hostname? Host, Port and Where to Find It"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">What is a proxy hostname? It is the name or address your browser, script, or application uses to connect to the proxy server. In a line such as <code>proxy.example.net:30007:u7abc:s3cret<\/code>, the hostname is <code>proxy.example.net<\/code>; it is not the website you want to visit and it is not necessarily the mobile IP that the website will see.<\/p>\n\n\n\n<aside class=\"ap-card\" aria-label=\"ProxyKite per-dongle licence\">\n<span class=\"ap-card__badge\">Run your own<\/span>\n<div class=\"ap-card__body\"><p class=\"ap-card__name\">ProxyKite per-dongle licence<\/p><p class=\"ap-card__best\">Best for anyone turning their own 4G\/LTE dongles + SIMs into HTTP\/SOCKS5 mobile proxies, from 1 dongle to hundreds<\/p><ul class=\"ap-card__features\"><li>Every dongle becomes an HTTP + SOCKS5 proxy on a public port of our cloud router \u2014 no static IP or port forwarding, works behind CGNAT<\/li><li>IP rotation on demand, by rotation link, or on a timer from 60 s to 7 days (sticky option); returns old + new IP<\/li><li>One-line installer on a Raspberry Pi \/ Linux box; Huawei E3372 HiLink is the reference stick<\/li><li>SIM inbox for carrier messages, bandwidth limits per day\/week\/month, live traffic insights<\/li><li>Sub-users, white-label (your logo\/colours), REST API, webhooks and Telegram alerts included<\/li><li>Flat price, traffic is free \u2014 rides on your own SIM data plans<\/li><\/ul><\/div>\n<div class=\"ap-card__side\"><p class=\"ap-card__price\">$9 per dongle <small>per month<\/small><\/p><a class=\"ap-card__btn\" href=\"https:\/\/proxykite.com\/#pricing\">Talk to us \u2192<\/a><\/div>\n<\/aside>\n\n\n\n<h2 class=\"wp-block-heading\">Hostname vs IP address<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A hostname is a human-readable name, usually a domain name, that points to an IP address through DNS. An IP address is the numeric address itself. A proxy client can often connect using either one, but a settings field may call both values \u201chost\u201d or \u201chostname\u201d.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Consider this endpoint:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>proxy.example.net:30007<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here, <code>proxy.example.net<\/code> is the host or hostname, and <code>30007<\/code> is the port. The client first resolves the hostname, then opens a connection to that address on the specified port. The <a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc9110.html#section-4.2.1\" target=\"_blank\" rel=\"noopener\">HTTP specification<\/a> describes the host and optional port as the authority used to identify an HTTP endpoint.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The hostname identifies where your application connects. It does not identify the final website. If your browser is configured to use <code>proxy.example.net:30007<\/code> and you open <code>https:\/\/example.com<\/code>, the browser connects to the proxy endpoint first. The proxy then handles the request to the destination.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That distinction prevents a common mistake: putting <code>example.com<\/code> in the proxy hostname field because it is the site you want to open. The destination URL and proxy endpoint are two different inputs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Reading a proxy line: host, port, user, pass<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A proxy connection usually has four values, plus an optional protocol. Take this example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>proxy.example.net:30007:u7abc:s3cret<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Read it from left to right:<\/p>\n\n\n\n<figure class=\"wp-block-table ap-table\"><table><thead><tr><th>Part<\/th><th>Example<\/th><th>Purpose<\/th><\/tr><\/thead><tbody><tr><td>Hostname<\/td><td><code>proxy.example.net<\/code><\/td><td>Name of the proxy server<\/td><\/tr><tr><td>Port<\/td><td><code>30007<\/code><\/td><td>Network listener used by that proxy<\/td><\/tr><tr><td>Username<\/td><td><code>u7abc<\/code><\/td><td>Proxy login when user-and-password authentication is enabled<\/td><\/tr><tr><td>Password<\/td><td><code>s3cret<\/code><\/td><td>Secret paired with the proxy username<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The hostname is only the first field. Do not paste the full line into a field labelled <strong>Hostname<\/strong>, <strong>Proxy host<\/strong>, or <strong>Server<\/strong> unless that application explicitly asks for a complete proxy string.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some clients want a URL instead:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:\/\/u7abc:s3cret@proxy.example.net:30007<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In this form, <code>http:\/\/<\/code> is the proxy protocol, <code>u7abc:s3cret<\/code> is the inline login, <code>proxy.example.net<\/code> is the hostname, and <code>30007<\/code> is the port. The same endpoint might also be represented with a SOCKS5 scheme:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>socks5:\/\/u7abc:s3cret@proxy.example.net:30007<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">These are different ways to describe the connection. They are not interchangeable in every application. Use the exact order and protocol that the client documents. ProxyKite\u2019s <a href=\"https:\/\/proxykite.com\/docs\/guide\/proxy-formats\">proxy formats guide<\/a> shows the supported export shapes, while its <a href=\"https:\/\/proxykite.com\/docs\/guide\/authentication\">authentication guide<\/a> explains user-and-password and IP whitelist authentication.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/proxykite.com\/blog\/wp-content\/uploads\/2026\/10\/what-is-proxy-hostname-1.webp\" alt=\"ProxyKite\u2019s proxy formats documentation shows how endpoint values are arranged for different clients.\"\/><figcaption class=\"wp-element-caption\">ProxyKite\u2019s proxy formats documentation shows how endpoint values are arranged for different clients.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Why your mobile proxy hostname is not your 4G IP<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In a self-managed mobile proxy setup, the hostname is normally the public endpoint your client can reach. The 4G IP is the address used farther along the route when the request exits through the SIM-connected dongle. They serve different jobs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The path looks like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>browser or script\n    |\n    | connects to hostname + port\n    v\ncloud routing endpoint\n    |\n    | outbound connection from your box\n    v\nRaspberry Pi or Linux box + 4G dongle + SIM\n    |\n    | mobile data connection\n    v\ncarrier network -&gt; destination website<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The hostname and port give the client a stable place to connect. The dongle\u2019s mobile connection supplies the route to the internet. A carrier may use CGNAT, so the address visible on the dongle side may not be directly reachable from the internet. That is why a cloud routing layer can be useful: the local box makes an outbound connection, and the client connects to the public endpoint.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With ProxyKite, you provide the compatible dongle, SIM, and data plan. ProxyKite provides the software and cloud routing that exposes HTTP and SOCKS5 proxy access. No static IP or inbound port on your local connection is required, and the hostname your client uses is still separate from the mobile exit address.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This also explains why changing the hostname is not the same as rotating an IP. A rotation request changes the mobile session or route behind the endpoint. The host and port in your application may remain unchanged. To learn how the physical path fits together, see <a href=\"https:\/\/proxykite.com\/blog\/build-your-own-mobile-proxy\/\">how to build your own mobile proxy with 4G and Raspberry Pi<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Where apps ask for the hostname<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The field may be labelled <strong>Proxy hostname<\/strong>, <strong>Host<\/strong>, <strong>Server<\/strong>, or <strong>Address<\/strong>. Enter only the host value when the application gives you separate fields:<\/p>\n\n\n\n<figure class=\"wp-block-table ap-table\"><table><thead><tr><th>Application input<\/th><th>Value to enter<\/th><\/tr><\/thead><tbody><tr><td>Proxy type<\/td><td><code>HTTP<\/code> or <code>SOCKS5<\/code>, as required by the endpoint<\/td><\/tr><tr><td>Hostname or server<\/td><td><code>proxy.example.net<\/code><\/td><\/tr><tr><td>Port<\/td><td><code>30007<\/code><\/td><\/tr><tr><td>Username<\/td><td><code>u7abc<\/code><\/td><\/tr><tr><td>Password<\/td><td><code>s3cret<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In a browser or desktop application, select the proxy protocol first if there is a protocol selector. Put the domain in the host field and the number in the port field. Put credentials in their own fields when available. Do not include <code>http:\/\/<\/code>, <code>:30007<\/code>, or <code>u7abc:s3cret@<\/code> in the hostname field.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In a script or command-line tool, the client often accepts a full proxy URL or separate options. For an HTTP proxy, the URL form is commonly:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:\/\/username:password@hostname:port<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For SOCKS5, use the scheme required by that library, such as <code>socks5:\/\/<\/code> or <code>socks5h:\/\/<\/code>. The <code>h<\/code> variant in clients that support it asks the proxy to resolve the destination hostname. The client\u2019s documentation decides which form is valid.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Environment variables also use a URL-style value in many command-line tools:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>export HTTPS_PROXY='http:\/\/u7abc:s3cret@proxy.example.net:30007'\nexport HTTP_PROXY='http:\/\/u7abc:s3cret@proxy.example.net:30007'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Treat those variables as secrets. They can be inherited by child processes or printed in diagnostic output. Use a protected configuration method for production jobs, and avoid committing proxy URLs to a repository.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common mistakes when entering a proxy hostname<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Most hostname errors come from putting a valid value in the wrong field or using the wrong format for the client.<\/p>\n\n\n\n<figure class=\"wp-block-table ap-table\"><table><thead><tr><th>Mistake<\/th><th>What the client receives<\/th><th>Correct it by<\/th><\/tr><\/thead><tbody><tr><td>Pasting <code>http:\/\/<\/code> into the host field<\/td><td>A scheme is treated as part of the hostname<\/td><td>Remove the scheme when fields are separate<\/td><\/tr><tr><td>Pasting the whole <code>host:port:user:pass<\/code> line into Host<\/td><td>The client may try to resolve the entire string<\/td><td>Split the four values or use an import field that accepts that format<\/td><\/tr><tr><td>Entering the website hostname as the proxy hostname<\/td><td>The request bypasses the intended proxy or fails<\/td><td>Keep the proxy endpoint and destination URL separate<\/td><\/tr><tr><td>Using the 4G exit IP as the public proxy host<\/td><td>The address may be carrier-translated or not reachable<\/td><td>Use the hostname and port supplied for the proxy endpoint<\/td><\/tr><tr><td>Using the HTTP scheme for a SOCKS5-only port<\/td><td>The client speaks the wrong protocol<\/td><td>Select the matching protocol and port<\/td><\/tr><tr><td>Omitting the port<\/td><td>The client chooses a default that may not be your endpoint<\/td><td>Enter the port supplied with the proxy<\/td><\/tr><tr><td>Copying a password with <code>@<\/code> into a URL without encoding it<\/td><td><code>@<\/code> ends the credential section early<\/td><td>Use separate credentials or percent-encode reserved characters<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">An IP address can be a valid host value, but it is not a hostname in the strict DNS sense. If a field says \u201chostname\u201d, a domain such as <code>proxy.example.net<\/code> is usually the clearest entry. If the provider supplies a numeric address, enter it only where the client accepts a host or IP address.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Check the proxy with curl<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The quickest test is to make one harmless request through the endpoint and observe the response. The official <a href=\"https:\/\/curl.se\/docs\/manpage.html#-x\" target=\"_blank\" rel=\"noopener\">curl manual<\/a> documents <code>--proxy<\/code>, supported proxy schemes, and the default behaviour when a scheme is omitted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For an HTTP proxy with separate authentication arguments, replace every placeholder with the values from your own panel:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PROXY_HOST='proxy.example.net'\nPROXY_PORT='30007'\nPROXY_USER='u7abc'\nPROXY_PASS='s3cret'\n\ncurl --fail --silent --show-error \\\n  --proxy \"http:\/\/${PROXY_HOST}:${PROXY_PORT}\" \\\n  --proxy-user \"${PROXY_USER}:${PROXY_PASS}\" \\\n  'https:\/\/example.com\/'\nprintf '\\n'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For a SOCKS5 endpoint, use the matching curl option and scheme:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --fail --silent --show-error \\\n  --proxy \"socks5h:\/\/${PROXY_HOST}:${PROXY_PORT}\" \\\n  --proxy-user \"${PROXY_USER}:${PROXY_PASS}\" \\\n  'https:\/\/example.com\/'\nprintf '\\n'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Success means curl completes the request and prints the destination response. A successful connection to the hostname alone is not enough: the client must use the right port, protocol, and authentication. To see the connection stages while troubleshooting, add <code>--verbose<\/code> and remove <code>--silent<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --verbose \\\n  --proxy \"http:\/\/${PROXY_HOST}:${PROXY_PORT}\" \\\n  --proxy-user \"${PROXY_USER}:${PROXY_PASS}\" \\\n  'https:\/\/example.com\/'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Read the output carefully. A DNS error points to the hostname, a connection timeout or refusal points to reachability or the port, and an HTTP <code>407 Proxy Authentication Required<\/code> response points to proxy authentication or formatting. Do not paste verbose output containing credentials into a public issue or chat.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to verify the mobile egress, request an IP-check endpoint through the proxy and compare that result with a direct request. The returned address is the public address seen by the destination, not the proxy hostname:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --fail --silent \\\n  --proxy \"http:\/\/${PROXY_HOST}:${PROXY_PORT}\" \\\n  --proxy-user \"${PROXY_USER}:${PROXY_PASS}\" \\\n  'https:\/\/api.ipify.org'\nprintf '\\n'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Use an endpoint you are allowed to query and respect its rate limits. Keep this test separate from a larger scraper so that a format problem is not confused with an application problem.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">FAQ<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">What should I enter as my proxy hostname?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Enter the host value supplied with your proxy endpoint, such as <code>proxy.example.net<\/code>. Do not include the protocol, port, username, or password when the application provides separate fields.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Is a proxy hostname the same as a proxy IP address?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. A hostname is a name that can resolve to an IP address; a proxy can also be supplied as a numeric IP. Both can identify the server your client connects to, but a mobile proxy\u2019s public endpoint is separate from the mobile exit IP seen by the destination.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I use a proxy hostname without a port?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Usually you should enter the port supplied with the proxy. If you omit it, a client may choose a protocol default, which may not be the listener assigned to your proxy.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why does my proxy hostname say invalid?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Check that the field contains only a domain or accepted IP address. Remove <code>http:\/\/<\/code>, <code>socks5:\/\/<\/code>, the port, and inline credentials when those values have separate fields; then confirm that the port and protocol match.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I test a proxy hostname?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use curl with <code>--proxy<\/code>, <code>--proxy-user<\/code>, the supplied port, and a harmless HTTPS URL. Test DNS and connection first, then authentication; a <code>407<\/code> response means the proxy was reached but did not accept the authentication exchange.<\/p>\n\n\n\n<aside class=\"ap-cta\" aria-label=\"Make Your Endpoint Reachable\"><div class=\"ap-cta__content\"><p class=\"ap-cta__eyebrow\">Use Your Own Hardware<\/p><p class=\"ap-cta__title\">Make Your Endpoint Reachable<\/p><p class=\"ap-cta__text\">Turn your own 4G dongles into HTTP and SOCKS5 proxy endpoints without port forwarding.<\/p><\/div><a class=\"ap-cta__btn\" href=\"https:\/\/proxykite.com\/contact\">Contact ProxyKite<\/a><\/aside>\n\n\n\n<p class=\"wp-block-paragraph\">For the hardware and operating context, read the <a href=\"https:\/\/proxykite.com\/blog\/4g-proxy-farm-setup\/\">4G proxy farm setup guide<\/a> and then review the <a href=\"https:\/\/proxykite.com\/docs\/\">ProxyKite documentation<\/a>.<\/p>\n\n\n\n<script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"What should I enter as my proxy hostname?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Enter the host value supplied with your proxy endpoint, such as proxy.example.net. Do not include the protocol, port, username, or password when the application provides separate fields.\"}}, {\"@type\": \"Question\", \"name\": \"Is a proxy hostname the same as a proxy IP address?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"No. A hostname is a name that can resolve to an IP address; a proxy can also be supplied as a numeric IP. Both can identify the server your client connects to, but a mobile proxy\u2019s public endpoint is separate from the mobile exit IP seen by the destination.\"}}, {\"@type\": \"Question\", \"name\": \"Can I use a proxy hostname without a port?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Usually you should enter the port supplied with the proxy. If you omit it, a client may choose a protocol default, which may not be the listener assigned to your proxy.\"}}, {\"@type\": \"Question\", \"name\": \"Why does my proxy hostname say invalid?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Check that the field contains only a domain or accepted IP address. Remove http:\/\/, socks5:\/\/, the port, and inline credentials when those values have separate fields; then confirm that the port and protocol match.\"}}, {\"@type\": \"Question\", \"name\": \"How do I test a proxy hostname?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Use curl with --proxy, --proxy-user, the supplied port, and a harmless HTTPS URL. Test DNS and connection first, then authentication; a 407 response means the proxy was reached but did not accept the authentication exchange. For the hardware and operating context, read the 4G proxy farm setup guide and then review the ProxyKite documentation.\"}}]}<\/script>\n\n","protected":false},"excerpt":{"rendered":"What is a proxy hostname? Learn to identify the host, port and login in a proxy line, enter them in apps, and test the connection with curl.","protected":false},"author":1,"featured_media":189,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"csco_singular_sidebar":"","csco_page_header_type":"","csco_page_load_nextpost":"","footnotes":""},"categories":[6],"tags":[121,81,133,132,134],"class_list":["post-188","post","type-post","status-publish","format-standard","has-post-thumbnail","category-troubleshooting","tag-curl","tag-proxy-format","tag-proxy-host","tag-proxy-hostname","tag-proxy-port","cs-entry"],"_links":{"self":[{"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/posts\/188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/comments?post=188"}],"version-history":[{"count":1,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/posts\/188\/revisions"}],"predecessor-version":[{"id":397,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/posts\/188\/revisions\/397"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/media\/189"}],"wp:attachment":[{"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/media?parent=188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/categories?post=188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/tags?post=188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}