如何远程连接到在本地主机上运行的WebSphere Server?

So I wanted to try to let one person connect to my WebSphere Application Server remotely. I've already opened up a port on my router, but I don't really know what is the port that WebSphere uses. I couldn't really find much on the internet, and WebSphere is a hell of a complex thing to handle. I've already tested it on https://www.portchecktool.com/ so the port is not blocked by any firewall.

通过远程连接,我的意思是我已经启动并正在运行一个Java Web应用程序,并且我希望不在屋内的其他人能够进入并使用该应用程序。 我正在使用RAD IDE,以防万一可能有助于了解它。

因此,在哪里可以找到服务器使用的端口,以便随后配置为将连接转发到该端口?

评论
  • Honey
    Honey 回复

    I don't know RAD, but there are a couple ways to find out looking at WebSphere itself. If you are already in the admin console, you can to go to Servers in the left pane, click on your server's name, look for the ports link on the right column, and expand that. Look for the defaulthost_secure (or plain defaulthost if not using https.) If you don't, find where WebSphere is installed on your filesystem. There is a file WAS_INSTALL_ROOT/profiles/profileName/logs/AboutThisProfile.txt that lists some common ports including defaulthost and defaulthost_secure.