Port forwarding in localhost

I have created a site ims.localhost running in 8000 port in development server. I want to make it accessible within my LAN. Simple port forwarding didn’t work. How can I make the site accessible i development phase?

Have you installed on Windows using WSL (Windows Subsystem for Linux)? Is IP accessible over LAN?
Have you tried to Access using ip:8000 ?

If accessible on Local IP then required bridge connection for Site Access over LAN.

My PC is Ubuntu 22.04.
Yes I have tried IP:8000 within LAN but it doesnot work.
I am running frappe in docker.