Run automation web ui failed in server

Hello guys, i have a difficulty when i execute my test in server. I’ve been trying to execute my test suite in local and it’s going well then i pushed my code of automation to server then try to execute it from server but it’s failed, it doesn’t even open the browser.
here are details of my problems:

Chromedriver was started successfully

it kept loading to access browser

and then connection time out

I am using mac, and i use XQuartz to trigger WebUI in linux server

Do you guys any recommendations about my issue?
Thank you so much