localhost works but not an IP!?

0
0

Hi folks,

Apologies if this is a stupid question, but while I’m trying to learn wisej (and web development in general) I can only seem to run a web app. with localhost as the URL.
E.g. http://localhost:<port&gt;

If I try the actual machine IP address – I can’t access the web. app.
Because of this, I can’t actually access/test the web app. remotely because IP addresses do not work.

Using VB.NET (Visual Studio 2012 Pro).

I assume this is a IIS issue? I loathe IIS and would rather avoid it if I could!

How do I fix this so that I can use the actual development machine IP address!?

Thank you

Regards,
Darren

  • Darren
    Hi, Essentially I just want to be able to run a wisej web app. on my development PC and view the web page on my phone – a basic test, but I can’t do this until I can access the page via an IP address. Is this an IIS issue or am I doing something silly? Btw; I’m running the trial version of wisej in Visual Studio 2012 Pro. & 2015 Community – same problem with both. Thanks Darren
  • Luca (ITG)
    IIS Express only allows connections for debugging from Visual Studio. You can change the project to use IIS. See https://msdn.microsoft.com/en-us/library/58wxa9w5(v=vs.120).aspx.
  • You must to post comments
0
0

Hi Tiago,

Thanks for the link. I’ll try it in a few hours.

It’s a shame issues like this aren’t more obvious to the new user. Seems like a lot of mucking about to do something fundamental to the ideology of your product – remote resting a web app. Perhaps you should consider the same link in your ‘getting started’ docs?

What other methods are there to achieve a remote connection? Preferably relatively easy for the beginner.

Thank you

Darren

  • You must to post comments
1
0

Hi Darren,

It seems you are running the Wisej application on Visual Studio, by CTRL+F5 or by menu Debug => Start Without Debugging

In this case, you must be using IIS Express that is controlled by Visual Studio. You can check this setting by double clicking My Project and checking the Web tab, section Servers

By default, when Visual Studio is using IIS Express, it’s binds you application to http://localhost:port. If you want to access your application from a remote system, you should follow some how-to guide about using IIS or Accessing an IIS Express site from a remote computer

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.