Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Local Name Resolution without Port - MAMP Pro

This has been bothering me for a while, within MAMP Pro, I've got a few sites setup with "Local Name Resolution", however they only work with a port number. I've noticed many people are able to get them to work without any port numbers.

E.g Chris Coyier from CSS-Tricks can work directly on v10.whatup, where as my own would only work on v10.whatup:8888

TL:DR. test.dev:8888 works, but not test.dev/

Am I missing something/What's the problem?

UPDATE/EDIT:
If I set MAMP Pro port settings to use 80/443 & 3306 (Apache/SSL & MySQL), it seems to work without a port after URL. Although the MAMP Ports setting of: 8888/8890 & 8889 are the default when you first install.

Is the 80/443 setting okay to use, even though it's not default?

like image 709
Alexander Wigmore Avatar asked Apr 21 '13 12:04

Alexander Wigmore


People also ask

Which of the following ports is typically used by Mamp as the default localhost?

The default configuration for MAMP uses ports 8888 and 8889, and 7888.


1 Answers

It seems that changing the ports to 80/443 & 3306 (Apache/SSL & MySQL) instead of the MAMP defaults: 8888/8890 & 8889 will allow use of local name resolution without any port after domain.

like image 60
Alexander Wigmore Avatar answered Nov 15 '22 09:11

Alexander Wigmore