On the Mac, when raising the php server
php -S localhost: 8888
As the example above, the browser always directs to port 8080, that is, regardless of which one I put.
I have already been in the hosts files, which priore is what I thought I would have something, but is it normal, some solution?