Networking & Wireless forum

Resolved Question

Access IIS Site on W10 Pro 64bit PC on a Private Network

I have a Windows 10 Pro 64bit notebook with a website hosted by IIS. The notebook PC is not connected to any network and does not have internet access. I am using a product from the Microsoft Store called WiFi Direct Access Point (WDAP) to create a network that an Android device can use to access the PC via a wireless connection.

WDAP has assigned the notebook PC the IP address of 192.168.137.1 and the Android device connects and is assigned 192.168.137.### (### changes each time I connect).

The website I want to access with the mobile device can be accessed on the PC, but it is not being recognized on the mobile device.  The mobile device browser (Chrome) is reporting that the website is not accessible.  I have tried using the PC's name and the IP Address of the PC in the URL when accessing the website.

Any suggestions on how to accomplish this task would be greatly appreciated.

ggkcdn has chosen the best answer to their question. View answer
Answer This Ask For Clarification
Discussion is locked
You are posting a reply to: Access IIS Site on W10 Pro 64bit PC on a Private Network
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Access IIS Site on W10 Pro 64bit PC on a Private Network
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.

All Answers

Best Answer chosen by ggkcdn

Collapse -
Access IIS Site on W10 Pro 64bit PC on a Private Network

In reply to: Access IIS Site on W10 Pro 64bit PC on a Private Network

I found the problem.

The API was setup in IIS with both an IP Address and a Host Name (abc.def.com). The Android device could not use the Host Name as it had no way of resolving the IP address from the Host Name. If a Host Name exists, it appears that IIS forces you to use it and IIS will not recognize the IP address.

Once I removed the Host Name from the Bindings screen for the API in IIS, I was able to use the IP address to successfully send and receive REST requests from the Android device.

Collapse -
Answer
Re: Access Point

In reply to: Access IIS Site on W10 Pro 64bit PC on a Private Network

Collapse -
Re: Access Point

In reply to: Re: Access Point

Thanks for your responses. I disabled all firewalls on the PC and now I can access IIS websites from the mobile device.

I have an API running in IIS that I still cannot access though. I have used REST API Client to try to access the API from my Android device, but it gives the message "No Response: No Connection Error". I can successfully send REST requests from the PC itself.

If I can get this working then I should have everything I need.

Collapse -
Re: Access Point

In reply to: Re: Access Point

I found the problem.

The API was setup in IIS with both an IP Address and a Host Name (abc.def.com). The Android device could not use the Host Name as it had no way of resolving the IP address from the Host Name. If a Host Name exists, it appears that IIS forces you to use it and IIS will not recognize the IP address.

Once I removed the Host Name from the Bindings screen for the API in IIS, I was able to use the IP address to successfully send and receive REST requests from the Android device.

Collapse -
Answer
Let's start with something basic.

In reply to: Access IIS Site on W10 Pro 64bit PC on a Private Network

A LAN is a private network.

So why not connect it to a router which does or does not have an Internet connection and do this?

Popular Forums

icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

DEALS, DEALS, DEALS!

Best Black Friday Deals

CNET editors are busy culling the list and highlighting what we think are the best deals out there this holiday season.