对于我的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
我正试图在我的无头gentoo服务器上设置libvirtd。我想通过tls远程控制。我遵循了libvirt远程访问指南,但它对我不起作用:客户端virt管理器显示了以下错误:
unable to connect to libvirtd at 'xxx.xxx.info': Connection refused
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line 1055, in _try_open
None
我正在使用Ubuntu16.04,但我相信我的问题适用于许多发行版,如Debian、CentOS和Red。
netstat -l的手册是:
Show only listening sockets. (These are omitted by default.)
netstat -a是:
Show both listening and non-listening sockets. With the --
interfaces option, show interfaces that are not up
netstat -a的输出是否包括nestat -l的输出?在主页上似乎是这样的,但
我已经下载并安装了用于Windows7的Apache,并且正在尝试设置我的本地主机,以便我可以测试Eclipse web项目。我目前甚至无法通过浏览器连接到本地主机。当我在Chrome/Firefox中输入http://localhost/时,我得到一个连接错误。在Chrome中:
This webpage is not available
Google Chrome's connection attempt to localhost was rejected. The website may be down, or your network may not be properly c
我们有带有RedHat 6.5操作系统的linux机器。
当我们试图在端口8182上打电话到本地主机时,连接被拒绝:
service iptables status
Firewall is not running
telnet localhost 8182
Connection refused
cat /etc/selinux/config
SELINUX=DISABLED
SELINUXTYPE=targeted
关于如何找到连接被拒绝的原因的任何建议,即使防火墙关闭并且selinux被禁用也是如此。
我安装了XAMPP Linux 1.8.2并尝试启动服务器(/opt/lampp/lampp start),它的响应如下
Starting XAMPP for Linux 1.8.2-2...
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.
我不能打开localhost,xam
我的绑定DNS服务器配置为侦听TCP端口53。是否有任何方法将服务器设置为侦听UDP而不是TCP?netstat命令的输出是:
root@ns1:/# netstat -lntu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 192.168.163.172:53 0.0.0.0:* LISTEN
tcp
我正在使用Windows 10和Visual 2016。我不能绑定到80端口。我可以绑定到所有其他端口。打印的错误是:“绑定IP地址0.0.0.0返回一个错误,端口80:无错误”
这是我的代码:
/* bind this socket to the server's Internet address */
if( bind(fd,(struct sockaddr *)server_addr,sizeof(struct sockaddr_in))<0 )
{
printf("Bind of IP address %s returned an error, port
我曾尝试使用puppet配置apache。当我尝试启动apache时,它失败了,没有任何正确的错误信息。我不明白为什么它会失败。我尝试执行下面的命令,它只是说启动失败,并且没有显示启动失败的任何具体原因。你能告诉我怎么弄清楚是怎么回事吗?我在下面附上了我的日志文件。
systemctl status httpd.service
journalctl -xe
Aug 15 22:56:03 hostname systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unit httpd.service has begun start
我通过ssh-host-config设置了ssh服务器。然后我启动了服务器。
net start sshd
The CYGWIN sshd service is starting.
The CYGWIN sshd service was started successfully.
当我试图连接时,我得到:
ssh myusername@localhost
ssh: connect to host localhost port 22: Connection refused
我试图允许Windows防火墙中的端口22,但这并没有改变任何事情。而且,由于我试图在本地执行ssh,所以我不认为Windo