Connectivity Problem with Application Deployment - Cannot connect to server from local network

System Information

Field Value
Operating System Linux - Ubuntu 26.04 on x86_64
Product AMP ‘Proteus’ v2.8.0.4 (Mainline)
Virtualization VMware
Application Application Deployment
Module ADSModule
Running in Container No
Current State Indeterminate

Problem Description

Issue

Hello, first time using amp, I have a server a friend is able to connect to with my public IP but I cannot using that same IP, Im pretty new to linux and VMs (currently running TrueNAS Scale with a VM running Ubuntu and AMP is running on that). Sorry for bad description currently pretty new to software and linux.

Reproduction Steps

  • Tried port forwarding TreuNAS server and Ubuntu Server
  • Local IP does not work
  • Friend can connect from external using public IP but i cannot

Is the server a local machine on your LAN or are you using a VPS?

No, I am not using a VPS. AMP is running on my own physical server at home behind my router. The server is on my lan and I am trying to make it accessible externally through port forwarding.

My setup is:

  • Physical server at home running TrueNAS SCALE

  • AMP running in an Ubuntu VM/container

  • Router is a Bell Gigahub

  • Local connections work, but I was having issues getting external connections working properly.

Let me know what other details you need.

Ok, since you are local to the server, you don’t want to use the public (external) ip as you would be going back and forth through your router multiple times. You just need your local IP of the machine to connect to. Normally it will be 192.168.*.*

You can run

ip addr

in the VM to get it. That should get you connected.

I know its best practice to use my local IP for LAN connection but unfortunately that doesn’t work either and i just time out. I’ve noticed when i connect using my local IP in the console it still shows "(/Public IP:56071) lost connection: Timed out " and even with my public ip it shows the same thing. If i turn off my port forwarding rule from my router it does let me connect with the local IP.

Are the systems are on different subnets or VLANs? In your router, did you set routing with a subnet mask of 255.255.255.255? If so change it to 255.255.255.0.

I have to step away for a couple hours, but will check back later or someone else can step in as well.

Not a problemI appreciate the quick response! No, I am not using any VLANs and everything should be on the same subnet.

My home network is using 192.168.2.x with the router at 192.168.2.1. The TrueNAS server and Ubuntu VM running AMP are both on the same LAN.

My subnet mask is 255.255.255.0, not 255.255.255.255.

enp42s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether fc:9d:05:03:32:bc brd ff:ff:ff:ff:ff:ff
inet 192.168.2.42/24 brd 192.168.2.255 scope global dynamic enp42s0
valid_lft 251413sec preferred_lft 251413sec
inet6 fe80::fe9d:5ff:fe03:32bc/64 scope link proto kernel_ll
valid_lft forever preferred_lft forever