C
C#10mo ago
zaizr

❔ Cant connect via public address with portforwarding

When I use 127.0.0.1 it works but when I use public address with portforwarding it gives me that error Error: A connection attempt failed because the connected party did not properly respond after a period of time or connected host has failed to respond
6 Replies
Pobiega
Pobiega10mo ago
on the same computer, thats the expected result try from a machine/phone that is NOT from your internal network, thats the best way to verify
zaizr
zaizr10mo ago
hey thanks for the quick response I have just tried it with my friend the app crashed the port is unused do you want to see the code?
Pobiega
Pobiega10mo ago
no.
zaizr
zaizr10mo ago
o k 😅
Jimmacle
Jimmacle10mo ago
if you want to access your LAN from inside using your public IP you'll need to enable NAT loopback in your router
Accord
Accord10mo 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
More Posts
❔ Does the import-by-ordinal functionality of DllImport work under NAOT + DirectPInvoke?I'm having a bit of trouble with importing several functions by their ordinal numbers *(for context:❔ How to connect to `Microsoft.NET.Test.Sdk`?Anyone here with experience in https://github.com/microsoft/vstest ? Or in other words `Microsoft.N❔ Using variables in generic methodsI code the following code but Business.Get is an async function: ```cs Type businessType = typeof(Bu❔ ✅ Display all properties of different types without an attribute in a WPF list?I have a Vehicle object that looks like this: ```cs public class Vehicle { [DoNotLogInCsv] ❔ Need help urgently with production app not behaving as expectedthis issue is with a WPF app: `App.ShutdownMode` is equal to `ShutdownMode.OnLastWindowClose`. When❔ New to C#, trying to create a gui that lets me start/stop my discord bot on a remote linux machineI am new to c#, but trying to learn. I have a simple gui with a start and stop button at the moment.❔ I can't fill my inputs when I click the "update" buttonIn order not to write it again, I am giving the stack overflow link. I will be grateful if you could❔ I don't know where to put handle error in my projectI use DDD in my project and this project makes CRUD. In infrastructure, there are a logic to call a ❔ Using XML to modify Nuget nuspec filesI am trying to take data from my old nuget packages nuspec file then I want to get the data from ea✅ Can't have interface with abstract static method as parameter in blazor componentI have interface and class like this: ```cs interface IFoo { static abstract IFoo Create(); void