对于我的Ubuntu上的服务列表,在端口515上找不到打印机服务。
nmap -sT -O localhost
PORT STATE SERVICE
23/tcp open telnet
139/tcp open netbios-ssn
445/tcp open microsoft-ds
631/tcp open ipp
9050/tcp open tor-socks
Device type: general purpose
Running: Linux 3.X
OS CPE: cpe:/o:linux:linux_kernel:3
OS details: Lin
我正在尝试确定哪个应用程序正在使用某个端口并获取netstat -tlnp | grep <port> for Linux。
此命令返回以下输出:
(Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:<port> 0.0.0.0:* LISTEN 3591/java
我只需要在结果中获得进程名和PID,即java3591。
做这件事
我已经有了一个运行xenial的系统,我需要验证特定端口是否为127.0.0.1打开,所以我决定安装telnet,只需尝试在这个特定端口上连接。
I've tried the following:
ron@regDesktopHome:/etc/ssl/certs$ sudo apt-get install telnetd -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
telnetd is already the newest vers
我试图在我的linux机器上运行weblogic服务器,并得到以下错误:
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
FATAL ER
我想知道是否退出一些软件或指南列表,我不知道正确的术语,我可以通过终端访问,并通知我所有的具体端口。
举个例子:我使用nmap和我想知道What is port 680/tcp,但是我不想通过浏览器访问这些信息,我想使用终端,就像返回信息的root@root:/home# guide tcp 680一样。那命令是不现实的!
我安装了XAMPP,安装是成功的,但是我无法启动XAMPP。我收到以下信息:
Starting XAMPP for Linux 5.6.14-0...
XAMPP: Starting Apache...fail.
XAMPP: Another web server is already running.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...fail.
XAMPP: Another FTP daemon is already running.
我正在尝试安装rabbitmq。所以我面临的问题如下。对于安装,我使用的是这个blog Reading package lists... Done
Building dependency tree
Reading state information... Done
rabbitmq-server is already the newest version (3.8.7-1).
The following packages were automatically installed and are no longer required:
erlang-diameter erla
我可以通过ssh -N -L 8888:127.0.0.1:8888 server_ip成功加入端口
但是,如果我只是加入服务器,然后使用jupyter notebook,我不能成功地打开端口。
ssh server_ip
jupyter notebook --port=8888
Error:
The port 8888 is already in use, trying another port.
原因是什么?如何解决?