alanmcgovern / Mono.Nat

UPNP and NAT-PMP port forwarding for .NET
https://github.com/mono/Mono.Nat
MIT License
160 stars 156 forks source link

Unable to connect to the external server #13

Closed yPedx closed 4 years ago

yPedx commented 4 years ago
ErrorMessage:
Kan ikke koble til den eksterne serveren
Data string:
HTTP/1.1 200 OK
CACHE-CONTROL: max-age=1800
DATE: Thu, 31 Oct 2019 16:10:07 GMT
EXT:
LOCATION: http://192.168.10.1:49152/gatedesc.xml
SERVER: Linux/3.10.12, UPnP/1.0, Portable SDK for UPnP devices/1.4.2
X-User-Agent: ZyXEL
ST: urn:schemas-upnp-org:service:WANIPConnection:1
USN: uuid:39f4c64e-1dd2-11b2-b754-5c6a804a34b8::urn:schemas-upnp-org:service:WANIPConnection:1

This is the error I get when the router sends a response. I have enabled Upnp within my router, and I'm sure it works because of the response (obviously). But how come the library is unable to decode the response?

"Kan ikke koble til den eksterne serveren" means "Unable to connect to external server"

yPedx commented 4 years ago

Actually, I think it might be my router that is the problem. It seems I am unable to reach the website http://192.168.10.1:49152/gatedesc.xml. This might be related to the fact that my vendor does not allow me to log into the router by typing in my IP in my browser, instead, I have to log into my vendor's website to get access to my router.

Closing issue until further notice.