l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
January 6: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2009 Jun 11 21:01

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] firewall issue?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] firewall issue?



thanks Troy.
I tried to allow that port open and update the firewall table.
However, no luck so far; I'll look a little deeper into this utility.

Will let you guys know,

Thanks,
Hai


On Thu, Jun 4, 2009 at 6:50 PM, Troy Arnold <troy-vox@zenux.net> wrote:
> On Thu, Jun 04, 2009 at 06:16:54PM -0400, Hai Yi wrote:
>> hello there:
>>
>> I have installed a jboss instance on my linux/ubuntu, and i changed
>> its server port to 9080 to avoid a conflict with my http apache
>> server.
>>
>> I can see the jboss welcome page from the browser by typing
>> "http://localhost:9080/";, but i couldn't see it from another Windows
>> machine in the intranet ("http://zodiac:9080";), I can see the apache
>> page ("http://zodiac/";) though.
>>
>> I guess it's because the firewall rule set on the linux machine
>> fitering out incoming package other than port 80. I think it has sth
>> to do with iptables, is my guess correct? If so, how may I see those
>> rules and change them?
>
> The raw command to see your firewall rules is:
> iptables -L -n
>
> However, since you don't have a recollection of setting up a firewall, I'm
> going to guess that Ubuntu's default firewall, ufw, is managing your
> iptables configuration.
>
> I'm not very familiar with it, but if the command 'ufw status' returns
> something other than 'inactive' then
> sudo ufw allow 9080
> should make that port available.
>
> A safer way of doing that is to limit access to hosts on your LAN:
> sudo ufw allow proto tcp from 192.168.0.0/24 to any port 9080
>
> Obviously, adjust the "from" for your network numbers.
>
> Everything I just wrote came from here:
> https://wiki.ubuntu.com/UbuntuFirewall
> At the bottom of this page under more information are ufw guides for recent
> Ubuntu releases.
>
> -t
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.