Unable to connect to my local server

I am trying to connect to my nextcloud server. When I enter my IP, I am taken to a page that says this:
Not Found The requested URL /index.php/login/flow was not found on this server.
When I go back, it says that the “connection refused”.

how did you setup your web-server?

can you provide information about

which OS and version
PHP version
which SQL and version
which Web-server and version

are you using http or https

I followed this:

according to the howto it should be /nextcloud/index.php/login/flow