LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Browser not connecting anymore to a specified port (https://www.linuxquestions.org/questions/linux-networking-3/browser-not-connecting-anymore-to-a-specified-port-327794/)

cubax 05-27-2005 03:54 PM

Browser not connecting anymore to a specified port
 
Hello,
I have a web application on a remote server that responds on the port 444.
On my local PC I have a brand new Mepis.
Everything is fine except this: I cannot connect anymore to my remote application since I installed Mepis. Something is changed but I don't know what it is.
Does anybody know what to check?

Many thanks.

Ciao

comprookie2000 05-27-2005 05:51 PM

You may need to open that port in guarddog.

cubax 05-29-2005 05:19 AM

Quote:

Originally posted by comprookie2000
You may need to open that port in guarddog.
I did it but the problem is still there :(
:scratch:

comprookie2000 05-29-2005 08:43 AM

Try
Code:

nmap localhost
what does it say?

cubax 05-29-2005 06:31 PM

Well. Right. :scratch: The door is still closed.
For what I understood about guarddog usage I opened it but at the end it does not work and "nmap" confirmed it.

How would you open that port from command line?
I tried
Code:

iptables -A OUTPUT
With no succes....

Suggestions? :rolleyes:

Thanks :)

comprookie2000 05-29-2005 06:54 PM

You could try;
# iptables -A INPUT -p tcp -m tcp --dport 444 -j ACCEPT
but I have never done just single rules,here is what I just did to get mine to work;
http://abbottdavid.no-ip.info/fluxbox/index8.html

cubax 05-29-2005 07:03 PM

I tried but the port is still closed.
Either before and after a reboot.

Why I'm so lame? :cry:

comprookie2000 05-29-2005 07:13 PM

Turn Guarddog off and try this,no guarantee;
# iptables -F; iptables -t nat -F; iptables -t mangle -F
# iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
# iptables -A INPUT -m state --state NEW -i ! eth0 -j ACCEPT
# iptables -A INPUT -p icmp -j ACCEPT
# iptables -P INPUT DROP
# iptables -A INPUT -p tcp -m tcp --dport 444 -j ACCEPT
and your not lame
how do you connect to the net eth0 and a cable modem,what distro did it work with,will it work with the firewall off,does the modem have a firewall ect.


All times are GMT -5. The time now is 03:19 AM.