✅ ASP.net i cant acces my localhost
why this aint workin? its al correct i want to acces it bcs i want to display it on my tablet on the wall but i even cant reach it on my pc how is that possible?
82 Replies
where did you get port 7038 from
it was generated defualt
idk how to change it lol
in my code
default is usually 5000, 5001
its not in the appsettings
ur running web forms?
oh fr? i just launched it nothing edited
no asp.net core model vieuw
it worked?
yea
but i want to acces it from other local devices on ip but it aint working on my pc
you have to include your LAN IP
i have an example in my pc wait
great
i geuss i ddi anything right i even asked chatgpt
show ur Program.cs
its defualt
and ur appsettings.json
also defualt
try adding this
alr
oehhh great its working!
how can i see the web page on ip like on my phone or tablet
by searching the ip right?
you connected through LAN and it worked?
via localhost
but am gonna google the ip now
what ip
ur LAN ip is stored in your pc
you can't google that
yes i know like this: but it aitn working
open cmd
yeah 192.168.0.230 is ur ip
yea so i did http://ip:port
https://192.168.0.230:5001
no
5001 for https
5000 for http
ahhhh great!!!!
thanks!!!
now ur LAN mates should access ur website normally
alright great thanks for helping me out!!!!!
appreciate it!!!!
❤️
np
can i make it port 80 and http? bcs i need it to be http so my device can open it on commando and skip te security message
sure
or wait i need a quick dns
sorry other solution works
i cant reach it http?
why is this not working @theranger.
i thought i set it up good but i cant acces the http
is your server even running?
yeas?
@theranger. everything is running but i cant reach the http somhow
or do i need to disable ssl?
dunno, there might be some issue
hmm
does localhost:80 work?
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
nope
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
The ports might be blocked by your firewall from incoming
but how can i reach the http?
If you are trying to do actual networking, you need to go through an entire checklist of things that is different than local dev
so i cant just acces the http on my ip?
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
how can i enable it? like port 80? so it can go trough
TeBeCo
given you're respecting firewall
Quoted by
<@689473681302224947> from #ASP.net i cant acces my localhost (click here)
React with ❌ to remove this embed.
And given that your devices are on the same subnet, that you don't have a network firewall, that your cert is trusted if you are using HTTPS/TLS, etc...
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
i can reach the https but i use homey and in the flow i cant stream it bcs i got a security message if i go to my ip
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
ahhh alright
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
should i make it a dns? so i dont have the msg?
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
i cant send this url to stream to a device bcs i think the message but what if i make it a dns? does the msg go away
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
oke situattion: i use homey to cast this site to a screen on the wall but when i stream this url it doesnt load sorry for bad english i think of the security message
it needs to be http or a website like pornhub.com like a big one
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
maybey can i use http on a port i can reach?
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
alright
so like this
it aitn working and i got set back to the https from default
if i reach to the http it gives me this https://192.168.0.230:7038/
tf
it still redirects me to this stupid https://192.168.0.230:7038/
Check your startup.cs if you haven't done that yet
And remove the httpsredirect() line that should be near the end of file
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
i figured it out
i needed to remove the redirect
thanks for helping yall ❤️