Skip to content
Can I use localhost?
Profile icon

I am using this repl for a test, however I want to apply it to a project. I want to know what exactly remote and local databases are. I also want to know, if someone else from another computer enters information in, and the code says to store it in localhost, can I access that. Like, when they say localhost, does that mean only I can add information to it through the web browser, or does it mean it is hosted on my computer and people can still add information to it?

You are viewing a single comment. View All
Answered by hyperupcall [earned 5 cycles]
View Answer
Profile icon

Localhost is an inbuilt http address that a web server on your computer can use to serve web pages/assets from. It cannot be accessed from outside your computer. Often you can use this IP address,, as well as it maps to localhost.

Read this article:

Profile icon

@malvoliothegood If you look in the /etc/hosts file, you'll find that localhost is actually a DNS address defined before