Local sites default to https

I’m using MAMP PRO on a Mac. Everything was fine until one of my local sites suddenly started default to https - in all of my browsers. I copied the site folder, renamed it, and created a new host name in MAMP, but it defaults to https, too. I can still preview my other sites at http, so why the problem with this one site?

I tried this fix:

I navigated to Applications > Mamp > conf > apache > httpd.conf

I found this line at the end of the file:

# Uncomment the next line if Apache should not accept SSLv3 connections, to learn more google for "POODLE SSLv3".

# SSLProtocol All -SSLv2 -SSLv3

So I uncommented it and restarted MAMP Pro. However, it didn’t fix the problem.

I’m not sure if restarting MAMP restarts Apache, so I opened my Mac Terminal and typed in sudo apachectl restart.


I’m now getting a new warning when I start MAMP:

MAMP Warning:

The built-in Apache is active which can cause a port conflict with at least one of your virtual hosts.

It’s recommended either to choose a port different than 80 or to stop the built-in Apache.


I don’t know how to choose a different port. I opened the Mac terminal and typed this in:

sudo apachectl stop

But that didn’t fix anything.


Then I discovered this terminal command: sudo lsof -i ‘:80’

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
Google 515 [My Name] 125u IPv4 0x6270000f68f4689d 0t0 TCP 10.0.0.138:50258->sea15s07-in-f4.1e100.net:http (ESTABLISHED)
Google 515 [My Name] 181u IPv4 0x6270000f69024a8d 0t0 TCP 10.0.0.138:50341->ec2-54-84-89-183.compute-1.amazonaws.com:http (CLOSE_WAIT)
httpd 1267 root 4u IPv6 0x6270000f5b6af8ad 0t0 TCP *:http (LISTEN)
httpd 1387 [My Name] 4u IPv6 0x6270000f5b6af8ad 0t0 TCP *:http (LISTEN)
httpd 1388 [My Name] 4u IPv6 0x6270000f5b6af8ad 0t0 TCP *:http (LISTEN)
httpd 1389 [My Name] 4u IPv6 0x6270000f5b6af8ad 0t0 TCP *:http (LISTEN)
httpd 1390 [My Name] 4u IPv6 0x6270000f5b6af8ad 0t0 TCP *:http (LISTEN)
httpd 1391 [My Name] 4u IPv6 0x6270000f5b6af8ad 0t0 TCP *:http (LISTEN)
httpd 1392 [My Name] 4u IPv6 0x6270000f5b6af8ad 0t0 TCP *:http (LISTEN)
httpd 1402 [My Name] 4u IPv6 0x6270000f5b6af8ad 0t0 TCP *:http (LISTEN)


I don’t have a clue what any of this means, but what are the references to Google and Amazon all about? Have they effectively hacked my Apache server?

I don’t have a clue what’s going on. I just want to be able to preview my local site at http://geobop instead of https://geobop. NONE of my local sites should display at https.

Does anyone have any tips?

Thanks.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.