Worklight Console重定向到端口9080 [英] Worklight Console redirects to port 9080

查看:406
本文介绍了Worklight Console重定向到端口9080的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将Websphere Liberty 8.5.5与IBM HTTP Server 8.5.5和Worklight Server 6.0.0.1一起使用。

I am using Websphere Liberty 8.5.5 with IBM HTTP Server 8.5.5 and Worklight Server 6.0.0.1.

我已将IHS配置为将端口80重定向到Websphere端口9080。

I have configured IHS to redirect port 80 to Websphere port 9080.

重定向正常工作对于首页,并输入domain.com/worklight/console直接打开domain.com:9080/worklight/console页面。但是,当我提供凭据并单击登录时,地址栏将更改为domain.com:9080/worklight/console页面,这不应该在防火墙上阻止端口9080 时发生。

The redirection works properly for the front page, and entering domain.com/worklight/console directly opens domain.com:9080/worklight/console page. However, when I provide the credentials and click Login, the address bar changes to domain.com:9080/worklight/console page which should not happen as port 9080 is blocked over the firewall.

我已应用此问题中给出的解决方案混合端口号但问题仍然存在。

I have applied the solutions given in this question "Mixed Port Numbers" but still the problem persists.


如果我从地址栏手动删除9080并按回车键,页面打开正常,是否可能在验证控制台的某处对端口9080进行了硬编码,如果是,我应该在哪里进行更改?

If I manually remove 9080 from the address bar and press enter, the page opens fine, is it possible that the port 9080 has been hard coded somewhere in the Authentication Console, if yes, where should I make that change?

我使用WebSphere Plugin在内部将端口80上的请求转发到WebSphere端口9080.

I used WebSphere Plugin to internally forward the requests on port 80 to WebSphere port 9080.

worklight.properties

worklight.properties

publicWorkLightHostname=subdomain.domain.com
publicWorkLightProtocol=http
publicWorkLightPort= 

Plugin-Cfg.xml

Plugin-Cfg.xml

<VirtualHostGroup Name="default_host">  <VirtualHost Name=":9080"/> 
<VirtualHost Name=":80"/>  <VirtualHost Name="*:9443"/> 
</VirtualHostGroup>  <Transport Protocol="http" Port="9080"
Hostname="11.11.11.11"/> <Transport Protocol="https" Port="9443"
Hostname="11.11.11.11">

感谢任何想法!

推荐答案

您需要编辑server.xml(如果您使用Liberty)来修改2个元素:

You need edit the server.xml (if you're using Liberty) to modify 2 elements:

jndiName="worklight/publicWorkLightProtocol" 

jndiName="worklight/publicWorkLightPort"   

to使它们的值与worklight属性中定义的值相同。

to make their values same as what defined in worklight properties.

这篇关于Worklight Console重定向到端口9080的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆