SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Edit the Hosts File

The `hxehost` IP address is private to the VM. In order for applications on your laptop (like your web browser) to access `hxehost`, add the `hxehost` IP address to your laptop's hostname map.

Overview

🎓 beginner 2 min. SAP Hana, Express EditionBeginnerSAP HANAExpress Edition
John Currie J John Currie November 1, 2022
Created by March 8, 2018
Contributors

Prerequisites

Prerequisites

Steps

Step 1 Update etc/hosts on Windows

If you installed the VM installation package to a Windows machine, follow this step to update the etc/hosts file.

  1. On your Windows laptop, navigate to C:\Windows\System32\drivers\etc

  2. In Administrator mode, open hosts in Notepad. See your operating system Help for information on opening applications in Administrator mode

  3. 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.

![HXE_Hosts_Windows_0](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/hxe-ua-hosts/HXE_Hosts_Windows_0.png)

> Note:
> If the VM is restarted and assigned a new IP, you'll need to update the Hosts file.
> 
>
Step 2 Update etc/hosts on Mac and Linux
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 2
1. Update etc/hosts on Windows 2. Update etc/hosts on Mac and Linux

Learn more →