Intellij/Websphere运行配置显示“地址localhost:8880已在使用中". [英] Intellij / Websphere run config says "address localhost:8880 is already in use"

查看:680
本文介绍了Intellij/Websphere运行配置显示“地址localhost:8880已在使用中".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我第一次尝试在Intellij中创建Websphere Local运行配置,显然我需要一些帮助.

This is my first attempt at creating a Websphere Local run configuration in Intellij and obviously I need some help.

第一个问题:运行配置时Websphere是否应该正在运行?

First question: is Websphere supposed to be running when I run the configuration?

第二个问题:当我运行配置并且Webshpere没有运行时,Intellij会说无法ping localhost:8880",因此Websphere应该正在运行.当我启动Websphere然后启动Intellij运行配置时,它说地址localhost:8880已经在使用中",然后说无法打开调试器端口(127.0.0.1:62019):java.net.SocketException:套接字已关闭""

Second question: when I run the configuration and Webshpere is not running Intellij will say 'cannot ping localhost:8880', so probably Websphere should be running. When I start Websphere and then start the Intellij run config it says "address localhost:8880 is already in use" and then "Unable to open debugger port (127.0.0.1:62019): java.net.SocketException: 'socket closed'".

这是我的设置:

第三个问题:从Websphere管理控制台中,我知道将端口8880配置为SOAP_CONNECTOR_ADDRESS.应该使用Intellij吗?

Third question: from the Websphere admin console I got that port 8880 is configured as the SOAP_CONNECTOR_ADDRESS. Is Intellij supposed to use that?

谢谢!

推荐答案

以下内容对我有用:

  • 转到运行/调试配置,然后单击+
  • 选择远程(而不是Websphere Server)
  • 将端口更改为要使用的端口(我选择7777)

这篇关于Intellij/Websphere运行配置显示“地址localhost:8880已在使用中".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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