Intellij idea IntelliJ错误:";来自服务器的空响应";-远程GlassFish的运行/调试配置

Intellij idea IntelliJ错误:";来自服务器的空响应";-远程GlassFish的运行/调试配置,intellij-idea,glassfish,web-deployment,remote-server,glassfish-5,Intellij Idea,Glassfish,Web Deployment,Remote Server,Glassfish 5,我正在尝试将我的远程glassfish 5.1服务器与IntelliJ IDEA 2020.1相关联 但我得到了一个错误: Error running 'GlassFish 51': Unable to connect to the example.com:4848, reason: com.intellij.javaee.process.common.WrappedException: java.io.IOException: com.sun.enterprise.admin.remote.R

我正在尝试将我的远程glassfish 5.1服务器与IntelliJ IDEA 2020.1相关联 但我得到了一个错误:

Error running 'GlassFish 51': Unable to connect to the example.com:4848, reason: com.intellij.javaee.process.common.WrappedException: java.io.IOException: com.sun.enterprise.admin.remote.RemoteFailureException: Empty response from server.
远程服务器正在运行,可以在地址
example.com:4848
处打开Glassfish远程管理控制台。以下是我的设置: (模糊的主机名是我的远程服务器的域名。比如说
example.com

第一张图片上的用户名和密码与我在进入Glassfish远程管理控制台时成功使用的用户名和密码相同


如何启用连接?我可以添加更多配置屏幕截图,并在需要时添加更多信息。

解决方案是启用“使用SSL连接”选项。奇怪但有帮助。我没有在那个web服务器上做任何关于SSL的事情。URL是http类型,而不是https