#1 2019-10-14 07:32:36

freak
Member
Registered: 2019-10-14
Posts: 2

mORMot responding to HTTP requests on port 80 instead of IIS

The website of our company is running on IIS 7.5, recently and without any modifications in the configuration, the website start to give us the error 404, here is a picture of the error :

https://ibb.co/NpQDh2d

the website work fine with HTTPS and HTTP on every port except the port 80, and we have never used MorMot

Do you have any ideas where this problem comes from ?

Offline

#2 2019-10-14 07:47:13

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: mORMot responding to HTTP requests on port 80 instead of IIS

There is a registration mechanism for URI on WIndows, when using http.sys.
This registration is shared by IIS and other programs using http.sys, like WCF or mORMot projects.

You may have registered some URIs to the system without paying attention.
See https://synopse.info/files/html/Synopse … ml#TITL_88

Just check your registered URIs on the machine.

Offline

#3 2019-10-14 07:56:50

freak
Member
Registered: 2019-10-14
Posts: 2

Re: mORMot responding to HTTP requests on port 80 instead of IIS

ab wrote:

There is a registration mechanism for URI on WIndows, when using http.sys.
This registration is shared by IIS and other programs using http.sys, like WCF or mORMot projects.

You may have registered some URIs to the system without paying attention.
See https://synopse.info/files/html/Synopse … ml#TITL_88

Just check your registered URIs on the machine.


here is a picture of the result of the commande' netsh http show urlacl', there is nothing  wrong 

https://imgshare.io/image/netsh.WTV6e

Offline

#4 2019-10-14 08:06:23

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: mORMot responding to HTTP requests on port 80 instead of IIS

From your first screenshot, your mORMot program is using the port/URI, not IIS.
https://ibb.co/NpQDh2d

Offline

#5 2019-10-14 09:59:52

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: mORMot responding to HTTP requests on port 80 instead of IIS

From your second screenshot, your configuration seems messy.

http://+:80/Temporary_Listen_Addresses/

doesn't make much sense - sounds like if it was copy & pasted from some MS documentation sample with no adaptation...

Offline

Board footer

Powered by FluxBB