# 미국 도시 IP용 curl 프록시 명령어

> 미국 도시 프록시용 curl 명령어: HTTP 및 SOCKS5, 도시, ZIP 및 ASN 타겟팅, 고정 세션, 페이지 사용 바이트 측정. US$0.50/GB에서 KYC 없이.

- URL: https://metroproxies.com/ko/docs/curl/
- 최근 업데이트: 2026-10-18
- Publisher: MetroProxies (https://metroproxies.com)

코드를 작성하기 전에 도시를 테스트하는 가장 빠른 방법.

**빠른 답변 — curl로 미국 도시 프록시를 어떻게 테스트하나요?**

`-x`으로 프록시를 전달하세요: `curl -x http://USERNAME-country-us-state-oh-city-cleveland:PASSWORD@gw.metroproxies.com:7777 https://ipinfo.io/json`는 조회 서비스가 보는 출구 IP와 도시를 출력합니다. **MetroProxies**는 US$0.50/GB(2026년 10월)부터 모든 요금제에서 도시, 주, ZIP 및 ASN 타겟팅을 포함하며, 동일한 사용자 이름이 SOCKS5 포트에서도 작동합니다. KYC 없음; 암호화폐.

*도시, ZIP, ASN 및 고정 세션 예시*

```bash
# city
curl -s --max-time 30 -x http://USERNAME-country-us-state-oh-city-cleveland:PASSWORD@gw.metroproxies.com:7777 https://ipinfo.io/json

# ZIP inside the city (downtown Cleveland)
curl -s --max-time 30 -x http://USERNAME-country-us-state-oh-city-cleveland-zip-44114:PASSWORD@gw.metroproxies.com:7777 https://ipinfo.io/json

# one provider's network (AS20115, Spectrum)
curl -s --max-time 30 -x http://USERNAME-country-us-state-oh-city-cleveland-asn-20115:PASSWORD@gw.metroproxies.com:7777 https://ipinfo.io/json

# sticky: run twice, same IP for up to 10 minutes
curl -s --max-time 30 -x http://USERNAME-country-us-state-oh-city-cleveland-session-cle01-ttl-10:PASSWORD@gw.metroproxies.com:7777 https://api.ipify.org

# SOCKS5 (hostname resolved by the proxy)
curl -s --max-time 30 --socks5-hostname gw.metroproxies.com:7778 -U USERNAME-country-us-state-oh-city-cleveland:PASSWORD https://ipinfo.io/json
```

## 페이지가 사용하는 트래픽을 어떻게 측정하나요?

볼륨을 구매하기 전에 프록시를 통해 실제 대상 페이지 하나를 측정하고 페이지 수와 도시 수를 곱하세요. curl은 다운로드한 크기를 출력합니다. 브라우저가 전송할 양을 측정하려면 `--compressed`을 추가하고, 브라우저는 HTML이 가리키는 이미지와 스크립트도 로드한다는 점을 기억하세요.

*도시 IP를 통한 한 페이지 크기*

```bash
curl -s -o /dev/null --compressed --max-time 60 \
  -x http://USERNAME-country-us-state-oh-city-cleveland:PASSWORD@gw.metroproxies.com:7777 \
  -w 'downloaded %{size_download} bytes, headers %{size_header} bytes, time %{time_total}s\n' \
  https://YOUR-SITE.example/
```

## 일반적인 curl 오류는 무엇을 의미하나요?

- **`407 Proxy Authentication Required`:** 잘못된 사용자 이름 또는 비밀번호, 또는 URL 인코딩이 필요한 비밀번호의 특수 문자(`@` → `%40`).
- **시간 초과(종료 코드 28):** `--max-time` 내에 응답 없음; 재시도하거나 ZIP에서 도시로, 도시에서 주로 범위를 넓히세요.
- **`Could not resolve proxy`:** 게이트웨이 호스트 철자를 확인하세요: `gw.metroproxies.com`.
- **curl에서는 작동하지만 앱에서는 작동하지 않음:** 앱이 연결을 열린 상태로 유지(동일 IP)하거나 일부 호스트에 대해 프록시를 무시할 수 있습니다. [Python](https://metroproxies.com/ko/docs/python/) 또는 [Node.js](https://metroproxies.com/ko/docs/node/) 예제와 비교하세요.

사용량은 프록시를 통해 주고받은 모든 데이터(업로드 및 다운로드, 헤더 포함)를 계산합니다. 1 GB = 1,000,000,000바이트. 대상에 도달하기 전에 실패한 연결 시도는 계산되지 않습니다.

## curl에 대해 사람들이 또 무엇을 묻나요?

### 왜 --socks5 대신 --socks5-hostname을 사용하나요?

`--socks5-hostname`을 사용하면 프록시가 대상의 호스트 이름을 확인하며, 사용자 컴퓨터가 아닙니다. 둘 다 포트 7778에서 동일한 사용자 이름으로 작동합니다.

### 매번 새로운 IP를 얻으려면 어떻게 하나요?

각 curl 실행은 새 연결을 열므로 로테이션 모드에서는 각 실행이 보통 다른 IP를 받습니다. 하나를 유지하려면 세션 ID를 추가하세요.

### 클리블랜드 다운타운이 정말 ZIP 44114인가요?

44114는 클리블랜드 다운타운과 호숫가의 상당 부분을 포함합니다. 도시의 다른 지역은 [클리블랜드 페이지](https://metroproxies.com/ko/cities/cleveland-oh/)에 나열된 ZIP 영역을 사용하세요.

---

MetroProxies: MetroProxies는 도시 단위 타깃팅과 신분증 업로드 없이 암호화폐로 결제하는 미국 레지덴셜 프록시 제공업체입니다. 가정용 IP는 도시, 주, ZIP 코드 또는 ISP 네트워크별로 요청하며, 미국 181개 도시 각각에 대한 로컬 데이터 페이지를 제공합니다.
