Skip to content

Commit 17f610b

Browse files
authored
Make steps more visible (#971)
In the "Accessing Windows networking apps from Linux (host IP)" paragraph
1 parent 609850f commit 17f610b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

WSL/compare-versions.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,10 @@ The picture below shows an example of this by connecting to a Node.js server usi
128128
### Accessing Windows networking apps from Linux (host IP)
129129

130130
If you want to access a networking app running on Windows (for example an app running on a NodeJS or SQL server) from your Linux distribution (ie Ubuntu), then you need to use the IP address of your host machine. While this is not a common scenario, you can follow these steps to make it work.
131-
- Obtain the IP address of your host machine by running this command from your Linux distribution: `cat /etc/resolv.conf`
132-
- Copy the IP address following the term: `nameserver`.
133-
- Connect to any Windows server using the copied IP address.
131+
132+
1. Obtain the IP address of your host machine by running this command from your Linux distribution: `cat /etc/resolv.conf`
133+
2. Copy the IP address following the term: `nameserver`.
134+
3. Connect to any Windows server using the copied IP address.
134135

135136
The picture below shows an example of this by connecting to a Node.js server running in Windows via curl.
136137

0 commit comments

Comments
 (0)