C
C#2y ago
Connor

❔ IIS Server doesn't work when I set IP address to all unasssigned

I followed all the tutorials for deploying a blazor server app to IIS. I published it to a folder, installed the hosting package, and everything, but the final step of every tutorial says to add the website with the ip address set to "all unassigned" and port to 80 (I changed the Default Website to Port 90)-- but it doesn't work. It only works when I set the IP address to something specific. I don't even know what the implications of setting the ip address are. Anyways, I'm just wondering if anyone can think of a reason why it wouldn't work with all unassigned
12 Replies
qqdev
qqdev2y ago
Is IIS still a thing? I remember it as old and clunky
Connor
ConnorOP2y ago
What’s the most common deployment method these days? I’m just in my learning my phase
qqdev
qqdev2y ago
What is the output of the build?
Connor
ConnorOP2y ago
There is no output. If I click the link that says * for IP address it just says that the host didn’t respond or there’s no website at that address (can’t remember)
qqdev
qqdev2y ago
I mean the regular output When you publish the project to a directory instead of an IIS server Is there a binary which you are supposed to execute or just static files?
Connor
ConnorOP2y ago
I’m a little confused by your question. I publish to a folder using the Publish ui and I don’t think the console says anything. I then add the path I published to to IIS
qqdev
qqdev2y ago
What are the contents of that directory?
Connor
ConnorOP2y ago
Idk the exact things since I’m not on my computer rn, but there’s a bunch of 2 letter folders, dlls, and app settings
qqdev
qqdev2y ago
Sounds like a binary is generated in that case You should be able to just run the binary then (I assume Kestrel is shipped with it)
Connor
ConnorOP2y ago
I’ll look into it I guess
qqdev
qqdev2y ago
pepeOk
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server