PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, January 2, 2022

[FIXED] Local Name Resolution without Port - MAMP Pro

 January 02, 2022     dns, localhost, macos, mamp, redirect     No comments   

Issue

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?


Solution

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.



Answered By - Alexander Wigmore
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing