Jump to content
Sign in to follow this  

Recommended Posts

Hey, I have been trying for months now to try and get LNM to broadcast the map onto a web server. It manages to produce the web server onto my ip ONLY on the pc im using the software on.  The server "https://CENSOREDNAME:8965/" doesn't connect on the pc i'm using or any other device. Ports are forwarded to 8695 aswell. Any suggestions? 

 

Cheers!

Share this post


Link to post
Share on other sites

Did you enable encrypted connections (https) in the LNM options?
Forwarding a https (web server) to a http (LNM) connection will result is problems since a web browser expects encrypted data but receives plain text.

You have to be aware that there is no officially signed certificate if you use the web server with encryption. Depending on web browser you'll see warnings about bad domains or get no access at all.

Alex

Share this post


Link to post
Share on other sites

I have tried with and without https encryption but neither works.  I use chrome so im not sure if that'd be an issue

Share this post


Link to post
Share on other sites

So what would you reccomend? I keep the ports forwarded and use encryption or remove the port forwarding and remove encryption?  

 

I think i have tried everyway possible to do it and the only thing that works is the Ip address on the pc LNM is operating on

Share this post


Link to post
Share on other sites

I suppose you've got a problem with firewall settings.

What are the settings of your network?
I don't ask about DNS names, but about IP addresses because forwarding works on IP addresses not on names 🙂

So your architecture should looks like:
access_serv_ext_ip_addr_ + ext_port_number -> [access server] -> access_serv_int_ip_addr + int_port_number -> [local network]  -> lnm_web_serv_int_ip_addr +lnm_web_serv_port_number -> [LNM Web server].

The settings I've asked about are hidden under IP addresses and port numbers positions - should be used 3 pairs (IP addr + service port number) to get correctly working architecture.

 

Regards,
Piotr
 


 

Edited by ppgas

Never give up ...  - here are details of the whip-round: https://zrzutka.pl/en/pewr2d  -> to help my younger son fights against Acute Lymphoblastic Leukemia (blood cancer).

Share this post


Link to post
Share on other sites

Hard to to diagnose from remote. I suppose you run LNM in an internal home network, forward a port in your router and use a service like dyndns.

I'd change all links to the map on your page to http instead of https (or use a http address to access the map if you do not link from a page) and disable the encryption in the LNM webserver. Then forward from router port 80 to LNM computer port 8695. This is the easiest way as a first step and gets around browser issues.

Alex

Share this post


Link to post
Share on other sites

i'm really not that knowledgeable on internet protocols and such i don't know what Dyndns does. i use 1.1.1.1 dns servers though.  I Have BT internet in the uk and can just forward the ports easily though their router interface. Let me know if you need any other screenshots.

The webserver works only on the Ip address link on machine that LNM is running on but no other device. 

 

Internet forwarding page set to: https://prnt.sc/10dr1z7

Little nav map: https://prnt.sc/10dr2ty

Share this post


Link to post
Share on other sites
45 minutes ago, Chaotic said:

i'm really not that knowledgeable on internet protocols and such i don't know what Dyndns does. i use 1.1.1.1 dns servers though.  I Have BT internet in the uk and can just forward the ports easily though their router interface. Let me know if you need any other screenshots.


Every computer on the Internet has to have public _routable_ (non-private) unique IP address.  
If you've bought a service at Provider - and you've got own static unique external IP address, that's not a problem to configure anything.
You can enter/view your server as http://external_router_IP:8965   or register this IP address in DNS and see as a name: http://DNS_name:8965.

But if you haven't bought such a service, your router gets a dynamic IP address from  Provider's address pool.
In such case, your IP number is different each time, that's why such services as Dyndns exists - it gives possibility of dynamic DNS mapping from name->dynamic_changing_IP_address.

I hope I've explained this enough clear 🙂

The first thing you need to check is whether your LNM Webserver is visible at  your local network. You wrote you can load the page in browser on LNM Webserver's computer so we know the server is launched correctly. But it's possible that firewall on LNM's computer doesn't let to share this port 8965 to other computers/devices in local network. If it's true it's impossible to see your Webserver also outside of your local network (behind the router),

So you have to connect secondary browsing-capable device to your local network to check s it visible in local network.
The most important things:  LNM computer and second computer/tablet should have the local IP addresses in the same subnet (for example 192.168.x.x if you are using C class addresses for private/local subnet). You can read/check the network addresses of local machines on router's administration pages (they should be visible under DHCP leases if you use DHCP service in local network)

If LNM Webserver is visible in local subnet - the next thing is checking the forwarding feature on router - it's necessary to do this from external computer/network.
Server should be visible as http://external_router_IP:8965 and it should work  if everything is correctly  configured.
If it's ok, at last step it's time to register  DNS name of the service at any DNS server or if you haven't got unique static IP address - use Dyndns or something similar.
In general DNS isn't necessary for WWW service, you can always share your server in the Internet as http://external_router_IP:8965.

 

Regards,
Piotr


 

Edited by ppgas
  • Like 2

Never give up ...  - here are details of the whip-round: https://zrzutka.pl/en/pewr2d  -> to help my younger son fights against Acute Lymphoblastic Leukemia (blood cancer).

Share this post


Link to post
Share on other sites

Wow thanks for all that info, deffo helped me understand it more. I do have a dynamic ip address on my pc. you happened to mention firewall on your message there and it appears that what had happened is my firewall thought there was two different versions of LNM and such only one of them was allowed through. I allowed it now and its all working. Thank you for explaining that though as i feel i learnt something now.

 

Thanks, 

Dylan!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...