You are not logged in.

#1 2021-04-07 05:40:47

sdanave
Member
Registered: 2020-10-23
Posts: 32

[SOLVED] : Firefox unable to open localhost

Hi,

I have an Arch installation with KDE DE. The hosts file has te following entries :

```
127.0.0.1  localhost
::1
127.0.0.1 myarch.localdomain myarch

```

I am able to ping 'localhost' as well '127.0.0.1' from konsole.

I have a flask application that starts a server on http://127.0.0.1:5000. When I try to reach this url in Firefox, it gives a 404 Not Found error. However, if I run another url http://127.0.0.1:5000/helloworld, it gives the expected result.

I have verified the flask application content and it looks to be more an issue on Arch.

Can you please help ?

Regards

Sachin

Last edited by sdanave (2021-04-07 08:00:05)

Offline

#2 2021-04-07 06:08:19

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

Re: [SOLVED] : Firefox unable to open localhost

sdanave wrote:

it looks to be more an issue on Arch.

Hardly. You haven't defined an index page.

Offline

#3 2021-04-07 07:59:38

sdanave
Member
Registered: 2020-10-23
Posts: 32

Re: [SOLVED] : Firefox unable to open localhost

Agreed, it was a stupid mistake.

Marking the issue as Solved.

Apologies.

Offline

Board footer

Powered by FluxBB