What is localhost?
Experience Level: Junior
Tags: DatabasesQuality Assurance (QA)
Answer
Localhost = This computer
If someone tells you: "Connect to localhost", he is asking you to connect from your own computer to your own computer.
Localhost is a standardized name of a computer (host name) that means "this computer".
If you are connecting to some computer, you are usually defining the target by host name. As an example, if the target computer has host name abc, you can connect to that computer just by entering abc to a host name textbox.
If you enter localhost instead of other compuer name, you will get connected to your own compuer.
Related Databases job interview questions
What is Microsoft SQL Server?
DatabasesQuality Assurance (QA) JuniorWhat do you know about Windows authentication and Sql server authentication?
DatabasesQuality Assurance (QA) JuniorWhat is Microsoft SQL Server instance?
DatabasesQuality Assurance (QA) MediorHow do you connect to SQL server instance and disconnect from SQL server instance?
DatabasesQuality Assurance (QA) JuniorHow would you install Microsoft SQL Server Management Studio?
DatabasesQuality Assurance (QA) Junior