Opening Port 8080 on MacBook Pro Tahoe26.4

Hi all. Have an app (program) that needs to run through port 8080 to communicate with a remote server. It runs through an SSH program called Putty on Windows and Linux. I am attempting to use Terminus on this Mac. I can get part of it working and can achieve a remote connection to the backend part of the program. It runs well on all of our Windows and Linux PCs so I am know by that the port is open and working on our routers and modem. The problem I am running into is that it can't get out via port 8080 on this Mac. I have spent several days going through forums and post trying to find out how to access the ports on the Mac currently running Tahoe 26.4. I have gone to System Setting/Network/Firewall and allowed Terminus incoming permissions. If I am understanding other information correctly, the Mac is not allowing port 8080 to be listened for. Is there some way to modify ports on a Mac with Tahoe 26.4 and if so how can I get to them? Thanks in advance for your help.

MacBook Pro 16″, macOS 26.4

Posted on Apr 7, 2026 8:51 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 7, 2026 12:59 PM

Sounds like you want ssh tunneling:


ssh -L 8080:localhost:80 remote.host.address


The above assumes that you need to access port 8080 on your local Mac, and it needs to be pointed at the remote port 80, which is the typical web server port.


If you really need to connect with remote port 8080, then


ssh -L 8080:localhost:8080 remote.host.address


You would access the local port 8080 using


localhost:8080


and that will be directed to the local side of the ssh tunnel, which will be sent to the remote system and the 2nd port number specified in the -L option.


Actually the local side port number can be just about any high numbered port number you like. The only important port number is the remote port number.


Also you can use Applications -> Utilities -> Terminal. You do not need Terminus, or PuTTY, or any other terminal emulator. macOS provides a very good terminal emulator in Applications -> Utilities -> Terminal. If you want to use Terminus, that is fine, but it is also not essential to making ssh connections.


Note, ssh, scp & sftp are included with every macOS installation. No need for any extra installs to do ssh connections.


If you need to memorize this ssh connection, you can create an Applications -> Utilities -> Terminal -> Settings -> Profiles -> [+] profile and specify the ssh command to be run in the Terminal -> Settings -> Profiles -> name-of-your-profile -> Shell -> "Run command:" field. Then just Terminal -> Shell (menu) -> New Window (or New Tab) -> name-of-your-profile. You can have as many profiles (aka bookmarks) as you desire this way.

25 replies

Apr 7, 2026 12:55 PM in response to etresoft

Etresoft, I was not here to insult anyone. Simply asking for help. I understand there was probably a fair amount of info I may have left out that would be useful. Your reply came across as very condescending to me. I feel that you should never assume a questions is from someone who is an internet nuwbie with no idea of what they are doing. Simple questions from you would have been greatly appreciated and honestly answered with me fully admitting I don't know some of what you may need for an answer but willing to bend over backwards to get you what information I could share to help me. I am effective enough to be able to do some work in terminal and will gladly accept guidance from someone who is more knowledgable than me. If it makes you feel better, SSI is a global software company in a niche market (office supplies and equipment). I am not surprised you and others would never have heard of them. I have tended to work more with Windows and Linux and would like to have cordial back and forth to learn from others with more knowledge than I. There is a big difference in these OSs and I enjoy learning how they work (even at my age). Remember you get more with sugar than vinager (I do like salt and vinegar chips though)...

Apr 7, 2026 1:58 PM in response to BobHarris

BobHarris and Camelot, THANK YOU for asking that question! I am sorry about leaving out the tunneling part. I knew I would leave something out important and that was it. I will give it a try and get back with you tomorrow on how it goes. I don't know it if this will make any difference in this discussion but when we log into the remote server, it is a DOS (or similar looking) system. The tunnels or port forwarding allows us to access a web based graphical mode that for lack of a better term that I know of runs on the "DOS" based system we have to operate through to use. Thanks for the directions to look at and I will report back asap. If it would help you see what I am working with I am also willing to upload screen shots of the settings from a working connection. Hope you have a wonderful evening.

Apr 10, 2026 10:36 AM in response to Barney-15E

Thanks Barney-15E. Forgive my ignorance with this reply. The port I am using for the first connection is 1156 and it allows the connection to work. This allows the remote connection to complete and is the first step needed to allow a more robust graphical connection which happens in a browser enviroment. Allowing port 80 or 8080 to be open or listened for is how the web based or "graphical" is used. Let me know what other info or screen shots I can post that may help

Apr 10, 2026 4:51 PM in response to Camelot

I follow that, thanks. One thing I realize that I didn't see before is that it is trying to hunt on port 22, which I understand is the default SSH port. The basic starting point for my connection is ***port ***. In the SSH app, that is all that is needed for the basic connection and this works fine. There is port forwarding for print and admin functions. PF to 8080 is there to allow a connection through a browser I believe. I tried the SSH without the -L and got an error could not resolve host name.




[Edited by Moderator]

Opening Port 8080 on MacBook Pro Tahoe26.4

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.