Question: Q: Opening Ports on macOS Mojave
I am installing a Chamberlain MyQ device at home and I need to open port
TCP/UDP Port 53 and Inbound and Outbound UDP/TCP Port 8883. Can someone please help me?
Posted on Dec 12, 2018 5:50 PM
All replies
Loading page content
Page content loaded
They are open on your Mac, unless you’ve turned on the Firewall. Whether anything is listening on those ports would be up to the app that needs to use them.
If you have the built-in firewall enabled, then it doesn’t work that way. It approves traffic based on the app, not the port.
I would imagine it actually wants you to open those ports on your router, and that would depend on your router, not Mojave.
Can you provide more details?
Dec 12, 2018 6:22 PM
Usually, that setting is performed on your router. macOS does not block those ports by default, and if they are they would be found in Security & Privacy > Firewall.
I thought those Chamberlain devices were designed with an iOS app in mind, not a Mac. Where did you find that information? Perhaps I can help figure out what it requires.
Edit: I see Barney-15E has you covered. That’s OK with me 🙂
Dec 12, 2018 6:47 PM
I have a Mac AirPort Extreme 802.11ac and I use the AirPort Utility App to change the settings. I do have the Firewall turned on.
Dec 13, 2018 6:16 PM
I did go to Security and Privacy but did not see where the ports were listed. The Chamberlain WiFi hub has to connect with my WiFi and someone it is failing to communicate. The app on my phone works just fine. The WiFi hub does acknowledge the WiFi router but it fails to communicate effectively. I found this under the Chamberlain site.
I just found this! The forum states it does NOT support 802.11ac
«Ensure you have 802.11g or 802.11n (802.11 b/g/n) enabled. MyQ Wi-Fi products support 802.11 b/g/n and does not support 802.11 ac.»
Dec 13, 2018 6:25 PM
802.11 b/g/n and 5 GHz is not a problem since the Apple AirPort Extreme Base Station is a simultaneous dual-band router capable of using 2.4 GHz 802.11 b/g/n. The fact the iPhone app works means that your AEBS isn’t the problem.
Try disabling the Mac’s application firewall. Enabling it will only result in your own inconvenience (as you have been experiencing).
If you really want to leave the macOS application firewall enabled, you need to determine the macOS app or process used by the MyQ device. and I don’t know what it is. If you know, click the [+] button in Firewall Options. and select the app.
Источник
How do I open port 22 in OS X 10.6.7
I am trying to open port 22 on osx so I can connect to localhost using ssh. This is my current situation:
I have generated a key and tossed it into my authorized_keys file like so:
A «Network Utility» port scan confirms that 22 (and surprisingly 23) are closed.
Context: I am working on getting Hadoop set up locally. In my configuration, I am running services on localhost:####s and need to open communications to them via ssh.
How can I open 22? or could I be up against another issue (improperly generated key perhaps?)
6 Answers 6
I think your port is probably open, but you don’t have anything that listens on it.
The Apple Mac OS X operating system has SSH installed by default but the SSH daemon is not enabled. This means you can’t login remotely or do remote copies until you enable it.
To enable it, go to ‘System Preferences’. Under ‘Internet & Networking’ there is a ‘Sharing’ icon. Run that. In the list that appears, check the ‘Remote Login’ option. In OS X Yosemite and up, there is no longer an ‘Internet & Networking’ menu; it was moved to Accounts. The Sharing menu now has its own icon on the main System Preferences menu. (thx @AstroCB)
This starts the SSH daemon immediately and you can remotely login using your username. The ‘Sharing’ window shows at the bottom the name and IP address to use. You can also find this out using ‘whoami’ and ‘ifconfig’ from the Terminal application.
These instructions are copied from Enable SSH in Mac OS X, but I wanted to make sure they won’t go away and to provide quick access.
Источник
gSearch
gQuotes
Writing code a computer can understand is SCIENCE. Writing code other programmers can understand is an ART.
@rithmetic is being @ble to calculate upto 20 without taking off your shoes.
Start with yourself before you go ahead and try to change the world.
Once you make up your mind, don’t listen to anyone (including yourself).
gTweets
- #Covid waste .. Nicholas Samaras / OceanPhotogrpaherOfTheYear https://t.co/aC9bi1M2lp3 weeks ago
- #Facebook Not Net Good For Society .. #FacebookFilestwitter.com/Recode/status/…3 weeks ago
- @climagic set pastetoggle= (F2 for toggle in this case) also lets you toggle this option. You would need to be in insert mode. 3 weeks ago
- @LisaGenova REMEMBER is such a brilliant read that I finished it in a day. Written in such a simple yet engaging ma… twitter.com/i/web/status/1…3 weeks ago
- A joke .. Also a reality .. #covid#maskstwitter.com/HumansNoContex…1 month ago
gTagCloud
gRecentPosts
gCalendar
M | T | W | T | F | S | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Mac OSX – How to open a port
Lets say you want to check if port 1234 is open, run the following command in the terminal. nmap is not available on mac osx by default.You can install it with Homebrew, my preferred package manager for mac osx. Visit homebrew site for instructions on Homebrew installation.
nmap -p 1234 localhost
This will output the status ..
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00013s latency).
PORT STATE SERVICE
1234/tcp closed ppp
To open this port, add the following line in /etc/pf.conf
sudo vim /etc/pf.conf
# Open port 1234 for TCP on all interfaces
pass in proto tcp from any to any port 1234
# You can limit the ip addresses .. replace any with allowed addresses ..
You can either restart the service of restart your mac.
sudo pfctl -f /etc/pf.conf
I restarted my mac and once I had the application running at port 1234, the status reported by nmap command (mentioned above) changed to ‘open’ and I was able to use my mac’s ip and port to access the application from another computer.
You can also use Network Utility – Port Scan to scan for open ports on your mac.
Источник
Question: Q: How to open ports 119 and 443 in my Mac?
I’ve been trying to use the UseNeXT software with my Mac with no success. I called their support and they told me I need to open the ports 119 and 443. I contact Apple support and they told me that is beyond their scope (. ).
Can somebody help me with that? I tried to find it online, but all tutorials that i tried didn’t work or are outdated.
MacBook Air, OS X Mavericks (10.9.2)
Posted on May 4, 2014 12:39 PM
Helpful answers
If the Mac Firewall is ON then you need to set up (allow) the app in question to use those ports.
In System Preferences > Security and Privacy > Firewall use the Options Button.
This needs to be set to «Allow Signed Software» If On and the app you are using to be added to the List.
There are 65535 internet ports in total.
The first 1024 of them tend to be open by default.
The port 443 is used by many login pages to various sites such as Apple’s Login Page to post here and Bank sites.
It is also used by Messaging apps to sign in to some servers. AIM uses port 443 now. The Yahoo option in Messages also uses port 443.
Some Mail Servers also use it.
Port 119 is likely to be open in your router by default as it is below the 1024 threshold.
9:10 pm Sunday; May 4, 2014
May 4, 2014 1:10 PM
I don’t want to suggest that you change equipment unless we are sure that is the issue. Of course, you need the Comcast modem and you need a router. I use a simple Comcast Modem without a router with my Airport Extreme. But before you make changes, I would like to see if others weigh in to this thread. I also found numerous threads on the Comcast forums about this modem router combination. I am only suggesting that it may be your issue as I can’t say for certain. You might check with Comcast support for suggestions.
May 4, 2014 7:47 PM
There’s more to the conversation
Loading page content
Page content loaded
You have to open the ports on your router, not on your Mac. What kind of router do you have?
May 4, 2014 12:50 PM
If the Mac Firewall is ON then you need to set up (allow) the app in question to use those ports.
In System Preferences > Security and Privacy > Firewall use the Options Button.
This needs to be set to «Allow Signed Software» If On and the app you are using to be added to the List.
There are 65535 internet ports in total.
The first 1024 of them tend to be open by default.
The port 443 is used by many login pages to various sites such as Apple’s Login Page to post here and Bank sites.
It is also used by Messaging apps to sign in to some servers. AIM uses port 443 now. The Yahoo option in Messages also uses port 443.
Some Mail Servers also use it.
Port 119 is likely to be open in your router by default as it is below the 1024 threshold.
9:10 pm Sunday; May 4, 2014
May 4, 2014 1:10 PM
Thanks for the reply, Ralph.
Based on what you said, I believe the ports are not the problem. I have a PC that runs the same software with no problems. It means that it shouldn’t be any blocked port issues, right? I only have this problem with my new Mac and the firewall is off. If the ports are not blocked (software run with windows), the firewall is off, it must be somethig else blocking the software. Any other suggestion?
May 4, 2014 4:52 PM
I have the wireless gateway router provided by Comcast.
Based on what you guys said, I believe I may be having some different issues. The sofware runs with my old PC, but does not run with my new Mac. It means that I don’t have my ports blocked. Also, my firewall is off, so it is also not the problem. I don’t know what could be blocking this softaware to run in my mac.
May 4, 2014 4:55 PM
I suspect it is that Comcast router. I had read so many posts on these forums about problems with the Comcast modem-router, that I insisted on a modem without a router as my current wireless router has always worked perfectly. I exchanged the modem-router model they provided for a modem without a router and it works perfectly with my Apple Extreme router. You might want to search the forums for problems with Comcast router and see if you can see any similarities to your issue.
May 4, 2014 6:00 PM
But do you think this problem with comcast router would only happen with Mac, not Windows? Because I only have problems with my Mac
May 4, 2014 6:57 PM
I can’t say for sure because I don’t use a PC. But I saw enough threads on these and Comcast forums about problems with the Comcast modem-router that I wouldn’t even try it. When I got the notice that my old modem was no longer supported, they sent me a new one which included the router. I didn’t even try it, just exchanged it for a model without router. Try searching these forums for Comcast router problems and see if they seem to relate to your issue. Did you recently upgrade your Comcast equipment and did you have problems with a previous router? If you recently upgraded that equipment and the problem is new, I suspect the Comcast equipment.
May 4, 2014 7:16 PM
I’ve never had a Mac before, so I can’t tell if it is something new or not. But right now, if I test my Windows, it works. If I use my Mac, it doesn’t.
I was already thinking about buying an AirPort Time Capsule, do you think it will work? In this case, should I downgrade the Wirelles Gateway from comcast and take the one that is just the modem? Or maybe I should just buy a new modem and forget about comcast.
May 4, 2014 7:26 PM
I don’t want to suggest that you change equipment unless we are sure that is the issue. Of course, you need the Comcast modem and you need a router. I use a simple Comcast Modem without a router with my Airport Extreme. But before you make changes, I would like to see if others weigh in to this thread. I also found numerous threads on the Comcast forums about this modem router combination. I am only suggesting that it may be your issue as I can’t say for certain. You might check with Comcast support for suggestions.
May 4, 2014 7:47 PM
Thanks, man. I will see what I can figure out and I let you know if it worked.
Thanks for the help
May 4, 2014 7:54 PM
I may be missing something, but bear with me 🙂
How are you using UseNext? Are you hoping that the Internet can see these ports on the Mac? Or are you just wanting the ports to work on the local network?
Does your Windows box already receive these ports from the Internet? If this is the case your router is forwarding these ports to the IP of the Windows box. There can only be one destination for this ‘incoming port’ on the local network.
I don’t think a home/office router will let you receive on one port & split the traffic to multiple machines, at least not unless you have some decent firmware on the router.
If you are not accessing the Mac from the public Internet the router port forwarding is not the issue.
May 4, 2014 8:12 PM
I do want to make it clear, that with no exact knowledge of your software or equipment, I only offered a suggestion for a possible solution. Obviously, it would help if people who know more about networks than I do would offer some advice. I would not want you to change out your equipment without investigating the issue completely. I am no expert and merely offered a possible avenue for investigation. Do let us know if you find a solution.
May 4, 2014 9:50 PM
I went to the site to see if it had anything but I got this warning from Web of Trust (WOT)
I did not really think it was ports as those should be open in most routers.
In the Finder > Go Menu > Go to Folder enter /etc/hosts in the dialogue box.
This should take you to Harddrive name/Private/etc/hosts.
Open the Hosts file with TextEdit.
The vanilla version of this should look like this
It can have other IP addresses and web servers listed to block the Mac from contacting them.
Adding a # to the front of the line will get it ignored.
Some apps can get put in here by the installation process.
7:58 pm Monday; May 5, 2014
May 5, 2014 11:59 AM
It probably depends on the router as to the method used to open the ports.
As I have said elsewhere in the thread the first 1024 ports are open in most router to allow things to work Out of the Box such as Mail (110, 25, 567, 569, 995, 996 and many more ) and web Browsing (port 80 mostly but secure site can use 443) FTP (21 and 22) to name some.
Port Forwarding is one way to open some of the ports for One IP (computer).
Most routers have table for doing this and this can be limited as to the number of ports included.
This Linksys pic shows how to do it for some as it allows groups based on Start and end ports. However it restricts it to one IP
DMZ is a form of Extreme Port Forwarding that opens all 65535 ports to one IP (Computer)
In both the above cases other computers (IP addresses) are excluded from using the ports.
Port Triggering doe allow multiple computers to access the same Port but requires that you know the lead — Trigger — port involved for each app.
It is limited by the table size for your particular router.
Most router come with UPnP nowadays.
It is an ON/Off setting that allows the apps on the computer to say which ports are needed and when.
On some you can reduce the time to live and the Hop amounts.
The ports stay open from a period of normally 30 mins after non use.
This can be changed.
It also tends to list the number of Hops (the number of devices beyond the UPnP device) that it can be heard.
I have no other router on my network but I do sometimes use Internet Sharing between two computers hence the 2 Hops.
Every other device is only one Hop away from the the router.
There are concerns that the «Advertisement» is seen upstream (internet side) as well as device downstream.
The Concern is that this could be Up to your ISP and then down to the «next» IP end user on the particular router/server at the ISP end.
I have seen no evidence of this being the case.
Источник