9100 Port Used For

0 views
Skip to first unread message

Brayan Jacobsen

unread,
Aug 3, 2024, 4:46:24 PM8/3/24
to motinsmilti

In your scenario with setting the hostnames of cb1 and cb2 in the yaml files - if you also set the port to something other than 9100 - such as 39100 - in the static config file, and then mapped with -p 39100:39100, then there would not be a comflict with the index exporter.

Notes:
Port numbers in computer networking represent communication endpoints. Ports are unsigned 16-bit integers (0-65535) that identify a specific process, or network service. IANA is responsible for internet protocol resources, including the registration of commonly used port numbers for well-known internet services.
Well Known Ports: 0 through 1023.
Registered Ports: 1024 through 49151.
Dynamic/Private : 49152 through 65535.

TCP ports use the Transmission Control Protocol, the most commonly used protocol on the Internet and any TCP/IP network. TCP enables two hosts to establish a connection and exchange streams of data. TCP guarantees delivery of data and that packets will be delivered in the same order in which they were sent. Guaranteed communication/delivery is the key difference between TCP and UDP.

UDP ports use the Datagram Protocol. Like TCP, UDP is used in combination with IP (the Internet Protocol) and facilitates the transmission of datagrams from one computer to applications on another computer, but unlike TCP, UDP is connectionless and does not guarantee reliable communication; it's up to the application that received the message to process any errors and verify correct delivery. UDP is often used with time-sensitive applications, such as audio/video streaming and realtime gaming, where dropping some packets is preferable to waiting for delayed data.

When troubleshooting unknown open ports, it is useful to find exactly what services/processes are listening to them. This can be accomplished in both Windows command prompt and Linux variants using the "netstat -aon" command. We also recommend runnig multiple anti-virus/anti-malware scans to rule out the possibility of active malicious software. For more detailed and personalized help please use our forums.

Obviously, a port 9100 based attack requires IP packets to be routed from the attacker to the printer device and backwards but printers usually are not directly connected to the Internet [3]. As of February 2017, the Shodan search engine reveals 48,213 printing devices Internet-accessible trough port 9100.

I just downloaded Browser Print to use with another app. However, when I start it it says it can't start because port 9100 is in use. I restarted my computer multiple times and force quit everything that was in use. Unfortunately everything I've tried has had no effect. I followed the online manual exactly but I can't get it to work. Has anyone else had this problem. Does anyone have a solution?

As the error msg indicates, the port 9100 is in use. You can use netstat command to verify whether the port 9100 is in use. The application, which uses the port 9100, may auto start on reboot. So restart the computer won't resolve the issue. The netstat will tell you for sure.

Run the command with -ab option, i.e. netstat -ab. You may need the elevated permission. This will give you the information about which application is using the port 9100. Then you can terminate the particular application, and you should be able to launch the Browser Print.

When a program is using these ports, Browser Print will display a message stating that it cannot print in the current state. This will also be the case if you have an older version of the program running.

The attacker likely used Shodan to scan the entire internet for printers with port 9100 open to the internet. Due to way RAW printing over port 9100 works, all is required after this is to connect to the printer on port 9100 TCP and send the text you want to send to the printer.

The attack you link to was against printers which were directly accessible from the internet. If you have a typical home network which is connected to the internet by some DSL or cable router you don't have to worry about this specific attack unless you've explicitly enabled access to the printer from the internet - by default direct access from the internet is not possible due to NAT in the router (i.e. multiple internal IP addresses mapped to a single public IP). If you are in a company and the printers have public routable IP addresses make sure that a firewall is blocking access from outside.

For home users it is more likely that they install a printer capable of WiFi and keep the WiFi settings in the often insecure default state where the printer creates its own access point without encryption and access control. In this case anybody nearby the printer (i.e. somebody at the next apartment, on the street...) could send jobs to this printer. See for example Guy pulls off genius prank on his neighbour using their unprotected WiFi printer. Thus, make sure to disable WiFi if you don't need it and configure it securely if you need it.

One step you could take is to log in to your home router (or cable modem), find the settings for UPnP (Universal Plug and Play) and disable it. UPnP is used by many of these devices to open holes in your firewall and expose themselves to the internet for convenient remote access; the issue is that many of these devices are even less secure than your typical printer. By turning off UPnP, you are not allowing them to place your home network at risk.

Other answers about NAT and not exposing ports to the internet are reasonable. But protecting from internal network is also important if you internal network is big. i.e. anything bigger than a home network where you and your family exclusively connect to.

Is setting up a printer at a different place using port 9100. In the printer setup I can change this port to another number, ex 9150. Will the printer work with this port also, or is it only 9100 which work on remote printing??

Welcome to HP Support Forums. I came across your post and understand that you have an HP LaserJet Pro M1536dnf Multifunction Printer and would like to know how to disable the 9100 port on your printer. I read that such option is not available in web services and by doing telnet. I appreciate the steps you have performed and have certainly done a good job.

So I need to find a solution with docker to avoid port conflict between the container and the application locally hosted on the server (both are using port 9100). idk if there is a solution from docker ?

A port can only be bound by a single process for a specific ip. You can not run an application on the host using a port and start another processes trying to bind the same port, and expect it to succeed. Except both bind to different ips. And this is already without Docker being in the picture. Docker (or anything else) is not able to bypass these restrictions.

You could do something similar without Docker Swarm, but this is the easiest way if you are already using Docker. Without Docker Swarm you would need another service and probably some datastore for the service to create an overlay network. You can create a swarm cluster just for the overlay network without running containers in swarm.

Please use the form below to provide your feedback. Because your feedback is valuable to us, the information you submit in this form is recorded in our issue tracking system (JIRA), which is publicly available. You can track the status of your feedback using the ticket number displayed in the dialog once you submit the form.

This page describes the TCP ports that are used by Couchbase Server for network communication.Some ports, such as those used for cluster management, are required to be open on every node because they are essential to how Couchbase Server communicates with itself.Other ports are used by individual Couchbase Services, and are only required to be open on the nodes where those services are running.

Couchbase Server uses a default set of port numbers for all ports that it requires.The Couchbase Cluster Manager on each node is responsible for port management, and will open and close these ports on the host as necessary, as well as automatically switch to using encrypted ports if the cluster is configured to use TLS.Most port numbers can be remapped to fit the requirements of your network environment, but some port numbers cannot be changed.

XDCR (cluster-to-cluster): A source node connects to the port on a destination node of another cluster as part of an XDCR replication stream.(This is very similar to the client-to-node communication path.)

As of Couchbase Server Version 7.0, the XDCR protocol Version 2 (XMEM), which uses the Memcached Binary protocol, is the only XDCR protocol supported.Version 1 (CAPI), which used the REST protocol, is no longer supported.Refer to XDCR Advanced Settings for information about the XDCR protocol version and other advanced settings.

Neither the Cluster Manager nor any of the Couchbase Services will start if unable to listen on all required ports.Note that the cluster manager and all services attempt to bind to required ports using the IP address family that the Couchbase Server cluster is configured to use (see Manage Address Families).Therefore, if the Couchbase Server cluster is configured to use IPv6, the cluster manager and all services attempt to bind to required ports using IPv6; and if the cluster is configured to use IPv4, the cluster manager and all services attempt to bind to required ports using IPv4.If the cluster manager or service is unable to bind to one or more required ports using the configured IP address family, it will not start.

cbbackupmgr, the backup client, connects to the Couchbase Server using the ports listed above.You can find detailed information about the server ports in the Detailed Port Description.Below is a summary of the services cbbackupmgr is accessing via the ports.

Most, but not all, port numbers used by Couchbase Server can be remapped from their defaults to fit the requirements of your network environment.Refer to Table 2 for details about default ports and whether or not they can be remapped.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages