Where are local servers? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Where are local servers?

If I create a server for a program to simply prevent people from changing variables where is that server held? It needs a host, right? I've heard that it runs on your pc so does that mean if you reboot your pc it will shut down the server?

25th Jul 2018, 12:20 AM
MyIQis150
MyIQis150 - avatar
4 Answers
+ 3
Umm. I'm super confused by this question, but if you're creating a server, it will be wherever you made it. If you're using your computer as a server and you shut down your computer, you would effectively be taking the server offline. If you are using something else as the server, then those issues are separated. Very broadly speaking, a server and host are the same thing. Server is generally used more in the context of hardware and host used more in the context of service provider. I can't guess what this preventing people from changing variables is all about.
25th Jul 2018, 12:34 AM
Janningā­
Janningā­ - avatar
+ 1
The servers for what?
25th Jul 2018, 3:22 AM
Janningā­
Janningā­ - avatar
+ 1
Servers are, in their most basic essence, computers. A MacBook from 2007 is just as much able to *become* a server as the server farms in Silicon Valley. Of course, that doesn't mean they will perform the same. When you create a server on your computer, your computer becomes the host/server. When you turn off your computer, you turn off the server.
25th Jul 2018, 6:09 AM
Denneisk
Denneisk - avatar
0
Yes sorry, it is confusing. I was mainly asking where the servers are held.
25th Jul 2018, 2:25 AM
MyIQis150
MyIQis150 - avatar