I'm trying to create a Angular web application hosted on my cpu. I can deploy it on my IIS and it works fine. This Application is separated in two, one client (Angular) and one API server (connected to SQL). The client is on port 80 and the server on port 8080. I can reach the API through WAN and LAN but when I try to reach the Angular client I get Failed to load resource: /flavicon.ico:1 the server responded with a status of 404 (not Found). If I stop Angular client on the IIS and connect another project I have (A MVC monolite not made in Angular) it works. So frustrating. Is there anyone that can help me with this?
Asked
Active
Viewed 91 times
0
-
What exactly is trying to connect to what? What do you mean "trying to reach angular client"? – Aviad P. Jul 17 '21 at 18:55
-
Hi!I'm trying to reach the Angular-client from another computer. Not the computer from where it is located (from WAN and LAN). So the Angular-client runs smoothly from the computer where it is located but not from any other computer. – johanF Jul 18 '21 at 11:45
-
Usually favicon.ico is an icon to show next to title of website, just like you can see log of Microsoft when you access the site of Microsoft. So you can check the Angular application to see whether a file named favicon.ico under the directory. If nothing, use a image and rename to favicon.ico. Or add this in html file: . – Bruce Zhang Jul 19 '21 at 05:41
-
Hi! The flavicon image is there. – johanF Jul 20 '21 at 07:10
-
@BruceZhang is there anything in the Angular application that needs to be change to allow connections to the web site from other computers than its origin? – johanF Jul 20 '21 at 07:25
-
Im not an expert on Angular. But if favicon.ico is there but application still return 404. It is not issue caused by IIS. Maybe application itself. – Bruce Zhang Jul 21 '21 at 07:14