Oracle Database: 12c Enterprise Edition Release 12.2.0.1.0 - 64bit
Browser: Firefox Quantum 66.03 (64-bit)
OS: Windows 10.0.17134 Home
From firefox I enter the URL: https://hp1:5500/em/login and am presented with the login screen.On submitting the login form an error is displayed that says:
Error
Connection with database failed. Database instance might be down. Try again once it is up.

The database is "up" and accessible: I can log on to the database as system via sqlplus and SQL developer.
I debug with Fiddler4 but not with https encryption enabled, so to see what is going on I browse to the URL http://hp1:8080/em/login. It fails with the same error message as the httpS connection.
Fiddler shows that a "404 not found" was thrown. The textView of the request response is:
\<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
\<HTML>\<HEAD>
\<TITLE>404 Not found\</TITLE>
\</HEAD>\<BODY>\<H1>Not found\</H1>
The requested URL /orcl/em/orarep/doLogin was not found on this server\</BODY>\</HTML>
What do I need to do fix the URL?