Connecting ur5e with laptop for external control

Hi all,
I’m trying to make connection between my laptop and ur5e and to use URcap for external control. I followed instruction from github to install Universal Robot Ros Driver, and also installed URcap for external control.
My laptop and ur controller are connected over ethernet cable and laptop ip set to static on 192.168.0.100 and on teach pendant I setted the robot’s ip to static 192.168.0.50, subnet masks on both are 255.255.255.0. Under installation on teach pendant > urcaps> external control ip is 192.168.0.100 port 50002. Also on TP profinet is dissabled and also ethernet/ip dissabled. Remote control on TP set to enabled.
When i ping robot ip from laptop I get response. WHen I ssh to robots controller and ping laptop I also get response.
PROBLEM is when i start driver on ros side and try to run URcap external control program from TP i get error "The connection to the remote PC at 192.168.0.100:50002 could not be established. Reason: No route to host (host unreachable).

I’m using laptop with only ubuntu installed 22.04
Ros is noetic.

I also read here on forum everything I could find about that error and tryed every solution provided and also googled and tryed all that I can find and nothing seems to help, but maybe I was missing something.

Can somebody help, please.

WHen I do this

sudo netstat -peanut|grep 50002

tcp 0 0 0.0.0.0:50002 0.0.0.0:* LISTEN
1000 98051 10729/ur_robot_driv

then ip a gives this

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 30:24:a9:ef:95:68 brd ff:ff:ff:ff:ff:ff
altname enp1s0
inet 192.168.0.100/24 brd 192.168.0.255 scope global noprefixroute eno1
valid_lft forever preferred_lft forever
inet6 fe80::3143:d22b:29ee:8ff8/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlo1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 20:4e:f6:70:a8:f7 brd ff:ff:ff:ff:ff:ff
altname wlp2s0
inet 192.168.2.38/24 brd 192.168.2.255 scope global dynamic noprefixroute wlo1
valid_lft 83952sec preferred_lft 83952sec
inet6 fe80::9cb1:8352:3438:31c5/64 scope link noprefixroute
valid_lft forever preferred_lft forever

and sudo nmap -sn 192.168.1.0/24 give this

Starting Nmap 7.80 ( https://nmap.org ) at 2023-07-21 10:56 CEST
Nmap scan report for 192.168.1.254
Host is up (0.014s latency).
Nmap done: 256 IP addresses (1 host up) scanned in 30.03 seconds

So, I FINALY solved problem with this

sudo systemctl stop firewalld

After running that everything worked fine.

Can’t accept new action goals. Controller is not running how to solve this