如何在 Kubuntu 19.10 中打开端口?

如何在 Kubuntu 19.10 中打开端口?

我的应用程序通过访问端口来工作。在 Ubuntu 18.10 中,它曾经自动分配给特定端口。现在我已升级到 Kubuntu 19.10,无论我在 application.properties 中提到哪个端口,我都会收到以下消息:

**************************
APPLICATION FAILED TO START
***************************

Description:

The Tomcat connector configured to listen on port 8888 failed to start. 
The port may already be in use or the connector may be misconfigured.

Action:

Verify the connector's configuration, identify and stop any process that's 
listening on port 8888, or configure this application to listen on another port.

----------------------------------------

我正在尝试访问端口 8888。

我无法在 Kubuntu 19.10 中访问它。

我尝试使用netstat -lpn命令但无法获取有关端口 8888 的任何信息。

我不知道哪些端口可以用于特定的应用程序,并且没有可用的列表提供有关可使用的开放端口的信息。

我经历了Ubuntu 帮助站点的 Iptables 使用方法页面,但我仍然无法访问该端口、打开该端口或检查该端口的状态。

消息截图

相关内容