Edit the Hosts File
You’ll learn how to configure your host machine to communicate with the server.
- Tutorials: You have completed Start SAP HANA, express edition Server
- Step 1
If you installed the VM installation package to a Windows machine, follow this step to update the
On your Windows laptop, navigate to
hostsin Notepad. See your operating system Help for information on opening applications in Administrator mode
In a new uncommented row, add the IP address and
hxehost. Save your changes
Spacing is important. Make sure your hosts file in Notepad looks like this image.
If the VM is restarted and assigned a new IP, you’ll need to update the Hosts file.
- Step 2
If you installed the VM installation package to a Mac or Linux machine, follow this step to update the
On your Mac or Linux machine, start the Terminal application
Enter the following command:bashCopy
sudo sh -c 'echo <hxehost IP address> hxehost >> /etc/hosts'
If the VM is restarted and assigned a new IP, you will need to update the Hosts file.