By default, PaperCut NG/MF listens to ports 9191 and 9192 for HTTP and HTTPS communication respectively. These ports have been selected as they're generally unused by other applications. Because PaperCut NG/MF is a web application, you might want to have the interface available on the standard HTTP and HTTPS ports (80 and 443 respectively). One reason for doing so is to simplify URLs communicated verbally (as the user does not need to supply a port number).
The configuration procedure is different for each operating system. See below for instructions. Important: Before you begin, ensure no other applications (such as IIS, or Apache) are currently installed and using ports 80 or 443 on the server hosting PaperCut NG/MF.
Jan 10, 2011 7:00 PM. You answered my question well, but I guess I asked the wrong question. I assumed my school blocked the Mac App Store. P: 'inhibits the conversion of port numbers to port names for network files'. Port numbers can be mapped to names for commonly used services, such as http for port 80. If you are trying to find which which process is running on a port number, it makes it more difficult if you need to think through the names as well.
IMPORTANT
The following directions detail how to enable port 80 in addition to port 9191. Enabling an additional port is recommended over changing the existing port. Port 9191 is also used for server-to-server and client-to-server communication so it's important that this port continue to be made available.
Also make sure you you enable the 80 and 443 firewall ports if users access PaperCut NG/MF across firewall devices.
Windows
Linux
On Linux systems, only privileged programs that run as root can use ports under 1024. In line with security best practice PaperCut runs as a non-privileged user. To enable port 80 and 443, use iptables (or ipchains on old systems) to port-forward 80 to 9191. The following commands provide an example. Consult your distribution's documentation to see how to persist the iptables rules between system restarts:
/sbin/iptables -t nat -I PREROUTING --src 0/0 --dst <server_ip>
-p tcp --dport 80 -j REDIRECT --to-ports 9191
/sbin/iptables -t nat -I PREROUTING --src 0/0 --dst <server_ip>
How To Check What Apps Using Port 80 Macs
-p tcp --dport 443 -j REDIRECT --to-ports 9192
(These commands would typically be placed in an rc init script or the iptables startup config script as provided by your distribution.)
When you are done, restart the Application Server. (See Stop and start the Application Server).
Mac
The approach on Mac systems is similar to Linux. With the release of Mac OS X 10.11 (El Capitan) and the inclusion of System Integrity Protection (SIP) modifications to /System/ are disabled by default and disabling this feature is not recommended. The following information works for Mac OS X 10.10. For Mac OS X 10.10 and later, the support for the IPFW firewall has been removed in favor of PF.
Mac OS X 10.10
From Mac OS X 10.10, you must use the pfctl command to modify the Mac firewall. What is the best app for snipping on mac.
Mac OS X 10.9 and earlier
In Mac OS X 10.9 and earlier, one needs to use the ipfw command to modify the Mac firewall:
sudo /sbin/ipfw add 102 fwd 127.0.0.1,9191 tcp from any to any 80 in
See the ipfw
How To Check What Apps Using Port 80 Mac 10man page for all the scary details!Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |