Server not found via remote connection.

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Lukes
Posts: 21
Joined: Sat Dec 31, 2022 5:39 pm

Re: Server not found via remote connection.

Post by Lukes »

Actually router 1 is public, other people have access to it. so I connected my pc after router 2, so people don't have access to my pc over the network.
boss
Posts: 343
Joined: Thu Jun 30, 2016 1:07 pm

Re: Server not found via remote connection.

Post by boss »

@Lukes
I believe that the setup you have is causing you the issues you are having,
Is This how your current setup works.
Devices connected by LAN cable or wireless to "Router 1" do not have access to your Server PC?
But devices connected by LAN cable or wireless to "Router 2" have access to your Server PC?

Myself, I wouldn't do it that way. I would still have "Rouer 2" setup as a switch and restrict all access to your SERVER PC by requiring a logon to the SERVER PC account.
What type of routers are "router 1" and "router 2"?

Also, if you do get remote access to UMS by port forwarding, how do you intend stopping anyone from outside from accessing UMS?
Lukes
Posts: 21
Joined: Sat Dec 31, 2022 5:39 pm

Re: Server not found via remote connection.

Post by Lukes »

@boss
Yes, only devices connected to Router 2 can access the server.
Router 1 is an Archer-C20, and router 2 is an TL-WR740N.

Only those connected via Wi-Fi to Router 1 will have access to the server. The Wi-Fi has a WPA2 password.
Lukes
Posts: 21
Joined: Sat Dec 31, 2022 5:39 pm

Re: Server not found via remote connection.

Post by Lukes »

Hey guys, I think I solved the problem.

In trace log I saw that it was indicating failure in the UPC code of the unpn protocol of router 2.
So I disabled unpn option in router 2 settings, and opened UDP port 1900, which is responsible for unpn connection.
From there, the server is accessible throughout the local network, both on Router 1 and Router 2. It also stays active, and no longer disappears after 30 minutes. 😄

Can you please check if this is a good solution?
Thanks so much to all of you! 👍🏻
Lukes
Posts: 21
Joined: Sat Dec 31, 2022 5:39 pm

Re: Server not found via remote connection.

Post by Lukes »

I also set up a port trigger on port 1900 UDP
boss
Posts: 343
Joined: Thu Jun 30, 2016 1:07 pm

Re: Server not found via remote connection.

Post by boss »

@Lukes
And your TV/player connected to "router 1" also has acces to UMS?

Do you just want UMS access from "router 1" and "router 2"?
In your initial posts it sounded like you were trying to have UMS external to your own network.
Lukes
Posts: 21
Joined: Sat Dec 31, 2022 5:39 pm

Re: Server not found via remote connection.

Post by Lukes »

Yes, now the server is accessible on the TV.
I just want to make it available on my local network, router 1 and 2.

In my first post I mentioned remote access because it was the easiest way to describe the problem.
I thought if I had to explain that my local network has a router inside another router with 2 different IPs it would sound very confusing.

But the remote access I mentioned is actually access the server by Router 1.
Lukes
Posts: 21
Joined: Sat Dec 31, 2022 5:39 pm

Re: Server not found via remote connection.

Post by Lukes »

But is disabling upnp on router 2 a good solution?
boss
Posts: 343
Joined: Thu Jun 30, 2016 1:07 pm

Re: Server not found via remote connection.

Post by boss »

Nothing wrong with disabling upnp. If That is working good for you it is OK.

But..... As I mentioned before, your setup is giving you double NAT. That is not good.

The easiest (and best way), is to:
Leave "router 1" as it is. No need to do any port forwarding etc.
Just start the DHCP server address allocation on "router 1" starting from 192.168.0.5
Connect LAN cable from a LAN port on "router 1" to a LAN port on "router 2"

Give "router 2" a fixed IP of say 192.168.0.2
Turn off DHCP on "router 2"
Give your PC server a fixed IP of say 192.168.0.3

As for accessing your PC server, surely it would have accounts and passwords preventing anyone from accessing you PC server.

Cheers
Lukes
Posts: 21
Joined: Sat Dec 31, 2022 5:39 pm

Re: Server not found via remote connection.

Post by Lukes »

Hey @boss, but there's a problem.

I need double NAT to hide my PC's IP and MAC on Router 1's network.
That way people who are connected to Router 1 will not get information about my PC.
Post Reply