eclipse - j2me 中的 HTTP/1.1 502 代理错误

标签 eclipse ssl java-me proxy http-1.1

尝试连接到 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/

相关文章:

java - setText 不向 TextView 显示值

security - 如何设置最小的 TLS : Configure client and server, 或实现我自己的?

Git 克隆 : fatal: unable to access 'https://github.com/google-coral/pycoral.git/' : server certificate verification failed. CAfile:无 CRLfile:无

java-me - 我在哪里可以找到/下载 LWUIT 主题

java - 哪个库用于使用 J2ME 访问 Gmail 电子邮件?

java-me - Lwuit vs j2me-polish?和 LWUIT 相对于 J2ME-Polish 的优势是什么?

eclipse - 如何在 Eclipse web 项目中安装 JDBC 驱动程序而不会遇到 java.lang.ClassNotFoundexception

java - eclipse 错误?什么时候短不短?

linux - Linux 内核的嵌套结构查看器

python - ssl.SSLZeroReturnError : TLS/SSL connection has been closed (EOF) (_ssl. c:661)