Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Error when create Private Host in order no to get any virtual directory
mJehanno
#1 Posted : Wednesday, February 24, 2016 9:34:09 AM(UTC)
Groups: Member
Joined: 2/24/2016(UTC)
Posts: 3

Hi,

I made an ASP MVC 4 app running with c#, time to host it, i first tried to use IIS but it was pretty hard to config so i decided to try Cassini (aka Ultidev web server pro). I managed to host it pretty quickly and easily (thanks to you) then made some change to this app. I then decided to host an old version of this app by removing this one (in other word i tried to host a backup of the project i made).

The problem is that now i can't host it without virtual directories.

All I want is an app running with this url : http://localhost or http://127.0.0.1 or http://{myIp} and not one with http://{myIp}/{myApp}/


here is the config i tried to apply (removing the name of my app in the virtual directory text input) :




and here is the error i get :





Thanks for the webserver you created and thanks for the answer you can provide.
Ultidev Team
#2 Posted : Wednesday, February 24, 2016 9:44:47 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

Thank you for the positive feedback.

It appears that something is still running on port 80 (http://127.0.0.1). Please point browser to http://127.0.0.1 and see what response you get. Two sites or applications can't both run on the same address, unless they have different virtual directories. You may use a different, non-80 port by simply specifying port 0, in which case web server will assign one of the unused ports - then specifying virtual directory won't be necessary.

Best regards,
UltiDev team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
mJehanno
#3 Posted : Wednesday, February 24, 2016 11:45:13 AM(UTC)
Groups: Member
Joined: 2/24/2016(UTC)
Posts: 3



By pointing to http://127.0.0.1 I got a 503 status code.

How can i be sure that the first app i removed isn't running anymore ?

thanks.
Ultidev Team
#4 Posted : Wednesday, February 24, 2016 4:38:12 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi,

In order to tell which web server is responding on port 80, you may wan to run Fiddler on the same machine you run the browser on, and look at the response headers to see whether you get "Server: UltiDev Web Server Pro (3.0.0.21) Microsoft-HTTPAPI/2.0" back. If you do, you may want to restart UWS service from the UWS Explorer. If you never used Fiddler before, start with restarting UWS service. If the problem still persists, then it's likely IIS or some other server occupies port 80.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
mJehanno
#5 Posted : Thursday, February 25, 2016 3:43:19 AM(UTC)
Groups: Member
Joined: 2/24/2016(UTC)
Posts: 3

Oh ! Many thanks guys, IIS was still running sneakily behind !

Really thanks for the fast support and for develloping a user-friendly webserver for asp.net apps.

Ultidev Team
#6 Posted : Thursday, February 25, 2016 10:49:59 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
You bet!
Thank you for using our product.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#7 Posted : Tuesday, March 8, 2016 2:58:22 AM(UTC)
Groups:

Message was deleted by a Moderator.
Rss Feed  Atom Feed
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.