Questions tagged [port]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
21 views

Find out what MAC addresses are connected to each physical LAN port of router

I'm managing a router running Linux 3.10.87-rt80-Cavium-Octeon On the router's GUI, there's a "Switch ports" page where I can see all ethernet ports (4 LAN - 2 WAN) and their corresponding ...
mariano-daniel's user avatar
0 votes
1 answer
22 views

Finding out all blocked port numbers

The Internet connection in my hostel room is provided by my college which blocks a few ports (eg. 6881-6889 to prevent usage of torrents). I want to find out exactly which ports are blocked, because I'...
Shubh Kumar's user avatar
0 votes
0 answers
18 views

Port service translation

I have one public ip and only one inbound port to listen in my machine. How do I redirect port request based on client service? For example, my server is listening on 12345 (TCP/UDP) with public ip 35....
Muhammad Ikhwan Perwira's user avatar
5 votes
2 answers
707 views

Given a service name, get its port number?

Hi I feel like this is an obvious question but I haven't been able to get a good answer so far. Given the name of the service (which I know running on localhost) is there any networking command line ...
First User's user avatar
0 votes
1 answer
52 views

I can't block a port with ufw

This morning I received a report from Netscan: Netscan detected from host 8X.19X.1X.1XX time protocol src_ip src_port dest_ip dest_port Fri Sep 15 05:21:59 2023 UDP 8X.19X.1X.1XX 5065 => 9.87.179....
Willy Makend's user avatar
0 votes
0 answers
27 views

Ubuntu Virtual Machine not detecting Arduino, it yields "Can't attach the USB"

I am facing an issue when I try to detect the Arduino on the Virtual Machine which is running Ubuntu 20.04. When I connect Arduino on my Laptop (Macbook), the Arduino IDE on the Mac detects the ...
Inderjeet's user avatar
0 votes
2 answers
154 views

Does firefox using port 80 / How to stop it

Everytimes I open my pc and try $ lsof -i :80 I get COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME firefox 3082 totoXXX 41u IPv4 100396 0t0 TCP totoXXX-PC-E15-Gen-2:39000->...
Cutis's user avatar
  • 111
0 votes
1 answer
35 views

Why does netstat show my socket tutorial program having a port of "x11-1" instead of the port I set in code?

I am trying to learn about socket programming, and I have the following function to set up a socket: 29 int CreatePassiveSock(char *protocol, char *portstr, int qlen) { 30 ...
Anthony De Vellis's user avatar
0 votes
1 answer
173 views

"Can't connect to ('0.0.0.0', 80)" when asking Doccano to serve on port 80: what is the issue?

I use Doccano on Ubuntu 22.04. I get the error "Can't connect to ('0.0.0.0', 80)" when asking Doccano to serve on port 80: what is the issue? Asking Doccano to serve on port 8000 works fine....
Franck Dernoncourt's user avatar
0 votes
0 answers
113 views

What is "mtr --report --tcp --port=22" telling me?

RHEL 8.4 Here's the output of mtr to a server for which the firewall is open to port 22: $ mtr --report --tcp --port=22 --no-dns Server1 Start: 2023-08-09T21:49:20-0400 HOST: foo.example.com ...
RonJohn's user avatar
  • 1,016
1 vote
1 answer
207 views

How to safely open ports in ubuntu 22.04 for Cyber Protection Agent

In Ubuntu 22.04, I have installed the Backup Agent for Linux Servers "Cyber Protection Agent" on vps. I have followed this link https://www.ionos.com/help/server-cloud-infrastructure/cloud-...
hous's user avatar
  • 111
3 votes
2 answers
485 views

what is BHFHS protocol port 248?

I am pondering using port 249 for NFS RDMA in RHEL 8.8, using the NFS export secure option requiring the port be below 1024. https://www.iana.org/assignments/service-names-port-numbers/service-names-...
ron's user avatar
  • 6,122
2 votes
2 answers
618 views

NFS4, insecure, port number, rdma contradiction help

With RHEL 8.8 currently, and RHEL 9.x, the latest NFS version is 4.2. When NFS 4 was introduced, it did away with a few things in NFS3 one of which was multiple port numbers: NFS4 mandates all ...
ron's user avatar
  • 6,122
0 votes
0 answers
28 views

Netcat uploads hanging after a certain point

I'm working through an introductory cybersec challenge that requires me to upload a word and brute force a 4 digit code to a port. I put the combinations in a file, and tried to use netcat to upload ...
Noah Massey's user avatar
0 votes
1 answer
192 views

Curl always trying to connect with http in home network

Tldr; From my home network on a (MacOS Venture 13.4): curl https://ifconfig.me works but curl ifconfig.me or curl http://ifconfig.me not working. When connecting to other networks both work fine. Is ...
Anand Prem's user avatar
0 votes
1 answer
264 views

Understanding dsi system in device tree

Let's say there is a video bridge like sn65dsi86. It has a driver ti-sn65dsi86.c in kernel source tree. It should be enabled with device trees. There an example for device tree. But it is not complete....
ptiza_v_nebe's user avatar
0 votes
0 answers
64 views

Nmap scans are not persistent after reboot

I use Zenmap on Linux 6.0.0-kali3-amd64 which runs on Oracle VirtualBox to see open ports in Metasploitable2. When I save the Zenmap scan to /home I can successfully open the scan again until I reboot ...
Aditya Khare's user avatar
0 votes
1 answer
68 views

TCP port visible from inside nor outside

I've used autossh (reverse) connecting to my server. The ssh side works like used to. But in an ARM64 system, my Ubuntu has less possibilities but this is another story (...). So what I see whit nmap ...
Erkman's user avatar
  • 3
0 votes
1 answer
3k views

Telnet connection refused

I have been trying to connect using telnet. I keep on getting Connection refused. After checking ports listening, I observed the port is listening to the localhost IP 127.0.0.1 but I wanted it to ...
James Emeka's user avatar
0 votes
1 answer
159 views

limit connections per port

My question is about setting a connection limit to each port. I've made a v2ray server for VPN using x-ui. When I create a new config for users, each config uses to a random port. Now I want to limit ...
Mohammad javad's user avatar
-1 votes
1 answer
205 views

How can I forward port 8080 from my linux machine to be visible on port 2007 of my internal network using ssh?

I have a linux server hosting an applcation on port 8080 Inside putty, i have create a port forward from port 2007 to 8080 by specifying the public IP of my server, where's covered in red below How ...
melki0795's user avatar
0 votes
0 answers
255 views

vsftp : understanding passive mode, extended passive mode, and how to configure them

I installed a vsftp server. It works, with command line 'ftp' I can connect to it and upload ('put') files. But if I type 'ls', then it hangs after displaying: Entering Extended Passive Mode (|||<...
Vince's user avatar
  • 123
2 votes
0 answers
269 views

Which systemd service this port use?

I have installed a program that uses systemd sudo netstat -lntp | grep 10700 tcp 0 0 127.0.0.1:10700 0.0.0.0:* LISTEN 2444/systemd tcp6 0 0 ...
Kokizzu's user avatar
  • 9,437
0 votes
2 answers
80 views

Is not possible change MySQL's port at Fedora Server 36

For Fedora Server 36 was installed MySQL 8 Community through the .rpm from MySQL Community Downloads. Now according with the Editing Conf. Files section is indicated to use the /etc/my.cnf.d/community-...
Manuel Jordan's user avatar
0 votes
0 answers
524 views

Ubuntu Server can't Access the apache outside localhost

I know this question is already posted alot but I already read them all and not solve my problem. I already have fresh install ubuntu 20.04 with fresh installed mysql,phpmyadmin,apache when i open my ...
Ace's user avatar
  • 1
0 votes
1 answer
27 views

Open port on Ubuntu Dektop not accessible out of machine

I have opened 9591 port with 0 0.0.0.0:9591 on Ubuntu Dektop machine, $ netstat -tulpn | grep 9591 (Not all processes could be identified, non-owned process info will not be shown, you would have to ...
Vishwadeep Singh's user avatar
1 vote
1 answer
704 views

Ports not reachable after reboot

after I rebooted my server, I can no longer ssh into it. I am running headless Ubuntu 20.04.5 After investigating the problem, I've noticed, that all ports on my server appear to be closed (using an ...
maddes's user avatar
  • 11
1 vote
0 answers
100 views

Server hosted on virtual machine with VPN can't be accessed on host machine using same VPN?

I am an absolute novice so there may be misunderstandings etc. any and all forms of help are very appreciated. On a virtual machine (Virtual Box) using Kali Linux I am hosting BeEF with OpenVPN ...
bobbbb's user avatar
  • 11
0 votes
1 answer
328 views

Opening a "closed" port

I am trying to set up a SAP System on SUSE Enterprise, but I'm having trouble connecting to the server. I added multiple ports to the public section of the firewall and with most of them I am able to ...
smcks's user avatar
  • 1
2 votes
1 answer
108 views

Blocking a specific port

I need to block specific ports temporarily on AIX 7.2 to simulate an application using this port. I am developing a workaround for an application ignoring the entries in /etc/services and using ...
bakunin's user avatar
  • 499
1 vote
0 answers
139 views

SSH connection refused on external network with the default username

I recently tried to configure port fowarding on my raspberry pi, to be able to connect through it from anywhere. So, I changed my box parameters to permit it. It seems to work, as my raspberry pi is ...
Kyrela's user avatar
  • 41
1 vote
1 answer
515 views

is there any way to limit number of clients (IPs) to connect a port ? (ubuntu 22)

I'm trying to find a way to limit the number of IPs that can connect to a certain port. here is a simple example that returns the number of unique IPs connected to a port netstat -ntu | grep :80 | ...
AmirReza Azartoos's user avatar
0 votes
0 answers
201 views

UFW seems to be ignoring allowed ports in specific cases - Solved

I've got a Raspberry Pi set up with UFW firewall to try and secure it as best as possible. Most of the rules seem to work absolutely fine, but for some reason, it's blocking specific connections which ...
BallistiX09's user avatar
0 votes
1 answer
135 views

How do I expose a port that an app is only allowing local connections to?

An app on linux-based "headless-box-1" is listening for HTTP connections on http://127.0.0.1:7860. Which restricts connections to self. But I wish it was listening for connections from any ...
Benjamin H's user avatar
0 votes
0 answers
755 views

Enabling outbound traffic on all network ports

I am working on a network gateway implemented with a single board computer running Ubuntu (I can't confirm the version since it is not an off-the-shelf distro, it is built using buildroot). I am ...
WedaPashi's user avatar
  • 101
0 votes
1 answer
544 views

Disable port 8910 and then again enable when required in my linux based server

As you see below jsvc.exe is running on 8910 with PID 23943. [root@abc-163 ~]# netstat -tulpn | grep :8910 tcp6 0 0 :::8910 :::* LISTEN 23943/jsvc....
Sash_KP's user avatar
  • 111
0 votes
2 answers
4k views

docker exposed port not accessible from outside even when port is opened using iptables command

I have a sample docker tar image in my linux based server and ran that though docker run command as below where 9521f101839f is image id. docker run -p 0.0.0.0:9895:9898 -td 9521f101839f So now ...
Sash_KP's user avatar
  • 111
0 votes
1 answer
907 views

Socat specify source port

How do I specify source port in socat? In netcat I can simply: nc -u -s 192.168.0.1 -p 8888 192.168.0.2 9999 I tried socat udp4:192.168.0.2:9999 STDIN:192.168.0.1:8888 It's failed STDIN: wrong ...
Muhammad Ikhwan Perwira's user avatar
-2 votes
1 answer
421 views

How does a telegram bot work in Linux?

I wrote a simple telegram bot and it works great without conflicting with my firewall. But my question is this, in the firewall I have ports 80 and 443 allowed for my site, but when I write a TCP ...
Djon Doe's user avatar
0 votes
0 answers
1k views

Unable to connect to a listening tcp port 80, Iptables is not blocking it

I am trying to see if tcp port 80 is open on a debian 11 server. I logged into it using SSH and did curl -v telnet://localhost:80. It says connection refused. If I do the same with port 22, it shows ...
Cruise5's user avatar
  • 466
0 votes
0 answers
78 views

How can I make a port inside a virtual machine accessible to the host if the virtual interface has its traffic forwarded through a TPROXY target?

I have a virtual machine connected to virtual interface that has all its traffic sent through a TPROXY transparent proxy: ip tuntap add tap0 mode tap ip link set tap0 up ip addr add 10.0.0.1/24 dev ...
phantomcraft's user avatar
0 votes
2 answers
535 views

Check what service is running on a specific tcp/udp port

I'm looking for a command-line utility that allows me to check what service (eg: http/ftp/ssh) is running on a specific port of a remote machine. An example of how I imagine a program like this would ...
kess's user avatar
  • 123
0 votes
1 answer
59 views

forward outgoing port and sourcenat this traffic

I have crawled the internet, and tried some config, but so far, i am stucked, so i would need a little help if someone has a better experience than me on this. :) I got a server,server1, behind a ...
Yann's user avatar
  • 1
0 votes
1 answer
128 views

Port forwarding 3389 into local network safety

I've installed xrdp on a system running centOS7 - this allows me to rdp from any pc on the network using the local ip/hostname. I'm looking to be able to rdp straight into the system from outside of ...
ORicketts1's user avatar
1 vote
1 answer
184 views

If ports are unpriviledged, why can't I access them if I am root in a namespace?

I've run sudo sysctl -w net.ipv4.ip_unprivileged_port_start=1. However, sudo ip netns exec myvpn unshare -r python -m http.server -b 127.0.0.1 2 does not work. Strangely enough, this does: sudo ip ...
DrownedSuccess's user avatar
0 votes
1 answer
50 views

Cannot connect to other instances within an AWS LAN

My client installed several AWS instances, all in the same region/datacenter. My task is to install a Redis and a Postgresql instance on one of the machines and make the data store/database accessible ...
Bloehdian's user avatar
-1 votes
2 answers
1k views

how to Find the port number according to PID [duplicate]

The following command can be used to find out which process is listening on a particular port: netstat -ltnp | grep -w ':8011' How can we do the opposite, find the port number according to PID ...
yael's user avatar
  • 12.8k
1 vote
1 answer
347 views

iptables not blocking access via ports?

I'm running Debian 8.11 with iptables v1.4.21 and ipset v6.23, protocol version: 6. I'm trying to block access to certain ports for all but a small set of hosts, but it doesn't seem to be working. ...
HippoMan's user avatar
  • 565
0 votes
1 answer
1k views

Serial port to COM port - no output found

I am using Ubuntu WSL1 in Windows. I want to find my serial port which is currently connected on COM4 and I am running this command: dmesg | grep tty, dmesg | egrep tty, setserial commands, but ...
shivanchal asthana's user avatar
0 votes
1 answer
239 views

iptables: Failure when trying to block port access for most IP addresses, except for a few

I am using Debian 8 linux. I'm trying to block input access to a few ports for most IP addresses, except for a small, select list of IP addresses. I am doing the following, but it does not seem to ...
HippoMan's user avatar
  • 565

1
2 3 4 5