Questions tagged [port]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
24 views

Closing a port listening on a local host

How do i close a port listening on a local host in CentOS7? So far I have used the below command to find the process id sudo netstat -tlpn | grep 5601 Then, used the below command to kill the ...
0
votes
1answer
23 views

How to scan range of tcp and udp ports at a time using nmap?

I tried this command but its not scanning udp ports... nmap --open -p T:22,25,53,80,111,443,465,587,953,993,995,3306,5666,8891,U:53,68,111,323,715 13.235.13.13 What is the correct way for scanning ...
0
votes
2answers
22 views

Get all the open ports for a remote host in linux

Trying to connect to a particular port for a remote host. The host is reachable (checked via ping command) but the port is not accessible. Is there any way to check all accessible ports for that ...
0
votes
0answers
12 views

Centos7: Closed the port but it still shows as listening

I am using CentOS7. I have closed the port using the below command: firewall-cmd --zone=public --permanent --remove-port=9200/tcp firewall-cmd --reload While executing the command, it also gives ...
-4
votes
1answer
20 views

what is this `http` after `:` when i execute `netstat -N -e -p -l -a F` in kali linux

so i execute netstat -N -e -p -l -a f to see which port my program is listening on but i notice somethin is in foreign address colum i see "http" after : but i thought there will be a port number ...
0
votes
1answer
37 views

How can I use port 8080 on a BeagleBone Black with Debian Linux, kernel 4.14.x, when trying to use a web camera?

I have successfully compiled jacksonliam/mjpg-streamer. After compiling it, I ran into issues. The end result is that the source works, but I don't know how to resolve port conflicts under Debian ...
0
votes
1answer
24 views

I can't access application on azure Ubuntu VM that relies on port 8080, 8000, and 8009. Nmap tells me they are opened

I am using Ubuntu virtual host to run a tomcat based application that uses the ports 8080, 8009, and 8000. The network admin has already opened the ports and when I run nmap on localhost it shows that ...
0
votes
1answer
16 views

iptables see ips in portscan prevention

I do have the following iptables rules to prevent port scanning on my server: /sbin/iptables -A INPUT -m state --state NEW -m set ! --match-set scanned_ports src,dst -m hashlimit --hashlimit-above 1/...
0
votes
1answer
146 views

Debian 9 - Cannot use -m conntrack --ctstate ESTABLISHED,RELATED parameters

I'm trying to configure port knocking at Debian 9 - everything is configured except holding connection after closing port 22. When I'm typing iptables -A INPUT -m conntrack --ctstate ESTABLISHED,...
0
votes
1answer
23 views

is it possible to check the time that l application start to using port and established

From the following netsta we can see that Air_metal application is using port 50070 and established # netstat -anp | grep :50070 | grep ESTABLISHED tcp6 0 0 100.14.74.11:48148 100.14....
1
vote
1answer
56 views

Can an ssh key be configured to reject a connection if it is not connecting to the right port?

As sshd service can listen on different ports is it possible to configure a key which will work only if the connection was made on one port, but not the other? By this I mean that the key appears ...
-1
votes
1answer
30 views

What's the default port of SSHFS?

I tried to Google this and I found results. Either this is not very documented, either there's something I don't understand but should. It seems like it may be port 9876 like in the documentation, ...
0
votes
1answer
19 views

Is it possible to find amount of data that come and go through HBA ports?

I have a ProLiant server with a HBA card (2 ports). $ ls /sys/class/fc_host host2 host3 and also I have a 20T SAN storage that is connected to San switch via those ports. Is it possible to ...
0
votes
0answers
59 views

Unavailable port 443 after reboot

I am new in Linux. I have installed on my Debian server Tomcat9. Tomcat is running after OS reboot, but port 443 is not listen. I can run tomcat/bin/shutdown.sh a then tomcat/bin/startup.sh and then ...
0
votes
1answer
54 views

does proxychains redirect all traffic of any application?

From linuxbabe.com: proxychains bash This command will start another bash shell with proxychains in your terminal and from now on you don’t have to prepend proxychains to your command. Your ...
0
votes
0answers
28 views

How to gracefully stop process that runs a tcp server on specific port?

I have a systemd service unit that starts a tcp server on a specific port on the host machine. but on restart the port cotinue to run and if I restart the service I get an error address already in ...
0
votes
1answer
558 views

How to bind wget to download through a specific port?

I'm trying to download a file through wget. But I want to download it through a port which I configured as a proxy. How can I configure wget to download through a specific port in my computer? In ...
0
votes
0answers
37 views

CentOS/RHEL won't accept opened ports from outside. firewalld disabled

Can't seem to get any outside connections while hosting either MinecraftServer or UnturnedServer. firewalld is off. netstat -an | grep 25565 lists minecraft with tcp 0 0 0.0.0.0:25565 0....
0
votes
0answers
44 views

How to allow port access as a non privilege user in CentOS?

I have a password to ssh access only. This is a server given by university for me to do some python computing. The ip is a domain. format like this. xxxxxx.xxx.xx I tried to open a jupyter-...
0
votes
1answer
32 views

How to change the SSH Port for ubuntu 1404?

similar question (CentOS 6.4): Changing SSH Default Port 22 to 444 similar question (restart the ssh daemon on ubuntu1404):How can I restart the SSH daemon on Ubuntu?
0
votes
0answers
25 views

How to allow SSH availability checks but restrict login from specific IP? [duplicate]

I need the possibility of monitoring host to check availability of monitored host's SSH port availability via telnet, but at the same time I want to prevent SSH logins from monitoring host. Is there ...
0
votes
0answers
68 views

How to open SSH port 22 to connect medusa to my router ip

I've been learning how to brute force my own router password through medusa and I've encountered the following error: NOTICE: ssh.mod: failed to connect, port 22 was not open on 192.168.0.1 note ...
0
votes
2answers
71 views

Traffic: Inbound and Outbound

How can I enlist all ports along with it's IP, which are communicating to my machine ? Communication could be either TCP, UDP or raw. And could be unidirectional or bidirectional.
2
votes
1answer
824 views

Limit bandwidth on a specific port in CentOS 7?

I am running CentOS 7 on my VPS and I would like to limit bandwidth on a specific port. I have looked around extensively, and out of the solutions I can find, either it's a limit placed on an ...
-3
votes
1answer
336 views

Can not access all local port with local IP while localhost and 127.0.0.1 can

While I can access local service opened :::9100 via localhost, [root@os3 ~]# curl localhost:9100 <html> <head><title>Node Exporter</title></head> <body> <h1>...
1
vote
1answer
328 views

Is it possible to force ending of (close wait) connections?

when we run lsof on port 6060 as the following # lsof -i TCP:6060 | more COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME app_lot 3495 root 12u IPv6 9238779 1t0 TCP *:krb0934 (...
0
votes
1answer
34 views

Problem with iptables forwarding

I have one linux with 2 interfaces example eth0 and eth1 one "external" and other "internal" I want to redirect one port from external interface to internal interface and I have some problem to the ...
2
votes
1answer
90 views

Access VM with SSH through VM host

I have my Linux workstation where I run a virtual machine with another Linux. The point is that my friend would like to try make ssh connect directly to my virtual machine, but we are not able to ...
0
votes
1answer
120 views

get connection timeout while checking a port on server

I don't have a any deep knowledge regarding the server, but recently I got some issue with mail on one server. I have tried this command telnet 77.242.116.45 587 and it gives me telnet: Unable to ...
1
vote
1answer
86 views

Can a single process listen on all ports?

From my understanding listening on a port means to request from the operating system the allocation of a given number within the range of 1-65535. The first 1024 ports are restricted to super user ...
0
votes
0answers
29 views

How can I view which ports are blocked and why the other ports are activated on a Linux Bridge?

This was one of the questions I had on an exam about computer networks (translated from dutch). The answer should be one single command.
0
votes
1answer
110 views

why access to some port isn't stable

we install the netdata tool ( its OS performance tool ) we notice that netdata installation failed on curl -sSL --connect-timeout 10 --retry 3 http://localhost:19999/netdata.conf and: we notice ...
0
votes
1answer
31 views

Changed ssh port to 1234, can't connect to server, fail2ban in use

I just changed my ssh port to 1234 and now i cant access my server any more. Also I set AllowUsers stephan in /etc/ssh/sshd_config I have fail2ban installed and i am trying to login as root user. ...
0
votes
0answers
39 views

Server fail to send data over 2992 port. Webpack, Flask, Apache

I am newbie to webpack, but desperately want to master this tech. I develop my web application with running flask app via python script __init__.py and by running webpack in cmd npm run start. ...
0
votes
0answers
30 views

With netcat how to safely open an external port to the Internet

I have found the perfect solution to write scripts which send files across machines over the Internet using netcat. On the machine receiving files I do nc -l -p 1234 -k and then on the machines ...
1
vote
1answer
81 views

Why does SELinux (with Enforcing=1) allow binding to low (or any) ports, by default?

I assume that Selinux defaults, based on the documentation, mandate that basically all port operations would be blocked and logged as AVCs. I have an SELinux enforcing enabled VM, created with ...
1
vote
0answers
18 views

Identify devices connected to the COM port in Ubuntu [duplicate]

I need to create an application that could identify the devices that are connected through the COM port of an Ubuntu system. I've checked out a lot of codes and also tried to use them but I couldn't ...
1
vote
1answer
111 views

IPTABLES - Not able to open Ports

since i couldn't find anything that explains me what I am doing wrong I hope you guys can help. I got a Ubuntu 18.04 server running. I want to open Port 9987 (just an example) so i Tried to add it to ...
1
vote
3answers
419 views

KDE Connect Not Working [Ubuntu 16.04] : KDE Connect is not discovering phone and vice versa

I have installed the KDE Connect application on my desktop and on my phone [Xiaomi Redmi 3S Prime]. However the desktop application would not detect my phone and vice versa. I have checked the ports. ...
1
vote
0answers
37 views

Cannot open/access ports on Ubuntu

I created an Apache web server on Ubuntu 18.04.2 LTS, using the guide described here. Afterwards the web server worked completely fine. Later on I installed Libvirt onto the web server, after which ...
0
votes
0answers
38 views

Embedding in iframe web-application at a port on another application in the same server

I have an application at say port 5000 which can render embedded iframes. https://host-public-ip:5000/ I have a second application on say port 6000. I would like to embed this page in an iframe in ...
0
votes
1answer
128 views

Understanding the Netcat properly [closed]

Netcat confuses me a little bit and here are the reasons: when I run: nmap localhost There are some ports listed with the information whether they are open or closed. So if I run the command : nc -l -...
0
votes
1answer
27 views

SSH Tunneling, have some problems [closed]

I have a computer and host A, B. Host A has internet connection and host B placed in host's A local network. Host B has Web Interface at port 8080. I need to forward port on host A. And then i want to ...
0
votes
1answer
86 views

How to open a port to specific IPs in iptables while using docker?

I have a postgreSQL database inside of Docker that I don't want to expose it to the host network as it causes all users to see the exposed database port. (For now I don't have a pfsense or anything ...
0
votes
0answers
994 views

VSFTPD refuses to list directory when PASV is enabled

I'm configuring VSFTPD on Ubuntu 18.04 and have followed all the guidelines. It's working OK for plain FTP (insecure), however as soon as I enable SSL/TLS and Passive mode, it connects, but I am ...
0
votes
2answers
190 views

When does `[::]` or `0.0.0.0` mean this network and when this host? [duplicate]

Tanenbaum's Computer Networks says The IP address 0.0.0.0, the lowest address, is used by hosts when they are being booted. It means ‘‘this network’’ or ‘‘this host.’’ [::] is IPv6 version of ...
-2
votes
1answer
526 views

Does `rpcinfo` list the port number of a RPC service?

$ rpcinfo program version netid address service owner 100000 4 tcp6 ::.0.111 portmapper superuser 100000 3 tcp6 ::.0.111 ...
1
vote
1answer
249 views

Why does postgresql server have a `localhost:57504` to `localhost:57504` UDP “connection”?

$ sudo netstat -ap | grep postg tcp 0 0 localhost:postgresql 0.0.0.0:* LISTEN 1567/postgres udp 0 0 localhost:57504 localhost:57504 ...
1
vote
1answer
51 views

Why is mysql server accepting nonlocal request, while postgresql server is not?

By default configurations, why is mysql server accepting nonlocal request, while postgresql server is not? $ nmap -p0-65535 192.168.1.97 Starting Nmap 7.60 ( https://nmap.org ) at 2019-03-20 14:34 ...
0
votes
0answers
48 views

Why can't `lsof` report some open port's information? [duplicate]

I am running this with the IP address of the same machine: $ nmap -p0-65535 192.168.1.198 Starting Nmap 7.60 ( https://nmap.org ) at 2019-03-20 10:13 EDT Nmap scan report for olive.fios-router.home (...