how to enable access to port from network in ubuntu?

15,368

Your jetty server is listening only on localhost. Change jetty config to listen on all interfaces. Then set rule in your firewall to accept requests on port 24030 for example sudo ufw allow 24030

Share:
15,368

Related videos on Youtube

Marek
Author by

Marek

Updated on September 17, 2022

Comments

  • Marek
    Marek almost 2 years

    when i "netstat -an | grep LISTEN"

    i have line:

    tcp6       0      0 127.0.0.1:24030         :::*                    LISTEN     
    

    i want it to be

    tcp6       0      0 ::24030         :::*                    LISTEN     
    

    in other words i want to have this port opened to whole LAN, now it is only accesible from local machine

    how can i do it?

    im on ubuntu 10.04

  • Marek
    Marek over 13 years
    yup, there is security part of config file, you can just remove it (of course beware of consequences)