尝试连接到 J2ME 项目中的网络时出现以下错误
Exception java.io.IOException: Error initializing HTTP tunnel connection:
HTTP/1.1 502 Proxy Error ( The specified Secure Sockets Layer (SSL) port is
not allowed. ISA Server is not configured to allow SSL requests from this port.
Most Web browsers use port 443 for SSL requests. )
我应该对设置或偏好进行一些更改吗?
我正在使用 eclipse
最佳答案
大多数 HTTP 代理服务器(显然包括 ISA 服务器)限制它们允许使用 HTTP CONNECT
的端口,这是允许与 HTTP 建立代理连接的 HTTP 动词服务器。通常唯一允许的端口是 443(https
的默认端口)。
我假设您在您的网址中明确使用了不同的网址。您需要将服务器移至端口 443 或更改代理服务器的配置以允许使用该端口。
关于eclipse - j2me 中的 HTTP/1.1 502 代理错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9428675/