locked
Rookie to Deployment required help RRS feed

  • Question

  • User992700523 posted

    I create a website on my pc using Visual Studio and Install IIS from Add or Remove Feature. Now, How can i access my website from my PC to any device connect with the same network of laptop.

    Thank You,

    Regards,
    Muhammad Naveed Haroon

    Wednesday, December 6, 2017 8:08 PM

Answers

  • User61956409 posted

    Hi Muhammad Naveed Haroon,

    MuhammadNaveedHaroon

    How can i access my website from my PC to any device connect with the same network of laptop.

    Firstly, you can refer to this article to host your website on your IIS.

    Secondly, as mgebhard mentioned, if you want access that website from other computer in LAN, you can browse it via http(s):// your_ip_address:port/yourwebpage.html

    Note:

    • To find your IP address try:  type ipconfig in Command Prompt
    • You can refer this thread that discussed a similar issue.

    With Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, December 7, 2017 2:27 AM
  • User992700523 posted

    Respected Fei Han!

    I access the website by using command on cmd:

    netsh http add urlacl url=http://[my ip address]:8088/ user=everyone

    Now i want to access my database and my Connection string is : Data Source=.;Initial Catalog=Aasaani;Integrated Security=True;MultipleActiveResultSets=true

    but on mobile i am unable to access database. Then, how can i access my database on mobile too.

    Regards,
    Muhammad Naveed Haroon

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, December 14, 2017 12:38 PM

All replies

  • User475983607 posted

    Use

    http://the.ip.of.sys:port/appname

    Wednesday, December 6, 2017 10:26 PM
  • User61956409 posted

    Hi Muhammad Naveed Haroon,

    MuhammadNaveedHaroon

    How can i access my website from my PC to any device connect with the same network of laptop.

    Firstly, you can refer to this article to host your website on your IIS.

    Secondly, as mgebhard mentioned, if you want access that website from other computer in LAN, you can browse it via http(s):// your_ip_address:port/yourwebpage.html

    Note:

    • To find your IP address try:  type ipconfig in Command Prompt
    • You can refer this thread that discussed a similar issue.

    With Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, December 7, 2017 2:27 AM
  • User992700523 posted

    I already setup my firewall and off it and then try. Both time i got same issue on mobile:

    Android It Show:

    This site can't be reached.
    localhost refused to connect.

    & On IOS it Show:

    Safari cannot connected because it is a local file.

    Regards,
    Muhammad Naveed Haroon

    Thursday, December 7, 2017 10:19 AM
  • User61956409 posted

    Hi Muhammad Naveed Haroon,<o:p></o:p>

    Are you able to access the website from other desktop computer in same LAN? Can not access the site only on mobile devices?<o:p></o:p>

    With Regards, <o:p></o:p>

    Fei Han<o:p></o:p>

    Monday, December 11, 2017 6:30 AM
  • User992700523 posted

    Respected Fei Han!

    I access the website by using command on cmd:

    netsh http add urlacl url=http://[my ip address]:8088/ user=everyone

    Now i want to access my database and my Connection string is : Data Source=.;Initial Catalog=Aasaani;Integrated Security=True;MultipleActiveResultSets=true

    but on mobile i am unable to access database. Then, how can i access my database on mobile too.

    Regards,
    Muhammad Naveed Haroon

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, December 14, 2017 12:38 PM