cant run server port 7777 on centos 6 -
AmirHossaiN - 04.07.2015
hello.
my etc/sysconfig/iptables :
Код HTML:
# Generated by iptables-save v1.4.7 on Sun Jul 5 02:19:50 2015
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [25:3062]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 4505 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 4506 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 7777 -j ACCEPT
-A INPUT -p udp -m state --state NEW -m udp --dport 7777 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A INPUT -p tcp -m state --state NEW -m tcp --dport 8080 -m comment --comment "Tomcat Server port" -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 7777 -m comment --comment "Tomcat Server port" -j ACCEPT
-A INPUT -s 192.168.1.0/24 -p tcp -m state --state NEW -m tcp --dport 7777 -m comment --comment "Tomcat Server port" -j ACCE$
-A INPUT -p tcp -m tcp --dport 7777 -j ACCEPT
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT
# Completed on Sun Jul 5 02:19:50 2015
server runned correctly (with cannot connect to mysql)
Re: cant run server port 7777 on centos 6 -
rymax99 - 04.07.2015
What? Are you saying players can't connect, or that it can't connect to your MySQL server?
Re: cant run server port 7777 on centos 6 -
AmirHossaiN - 04.07.2015
server is running but dont show in samp and cant login to it
samp shows server is not running
It seems that port 7777 is not open
Re: cant run server port 7777 on centos 6 -
rymax99 - 04.07.2015
IP and permission to scan it?
Re: cant run server port 7777 on centos 6 -
AmirHossaiN - 04.07.2015
Quote:
Originally Posted by rymax99
IP and permission to scan it?
|
its on intranet and you cant connect to it
Re: cant run server port 7777 on centos 6 -
rymax99 - 04.07.2015
Quote:
Originally Posted by AmirHossaiN
its on intranet and you cant connect to it
|
Ah, alright. Nothing immediately hits me that says you shouldn't be able to connect based on the rules, since you're using a stateful firewall that checks for established connections, and you have rules that allow new connections to the port, nothing immediately says that one would have issues connecting. I would check that packets are even making it to the server.
Re: cant run server port 7777 on centos 6 -
AmirHossaiN - 04.07.2015
i checked open ports by nmap , 7777 wasnt in nmap list
please help me and show me a way to open port
Re: cant run server port 7777 on centos 6 -
rymax99 - 04.07.2015
Quote:
Originally Posted by AmirHossaiN
i checked open ports by nmap , 7777 wasnt in nmap list
please help me and show me a way to open port
|
Like I said, verify that the packets are actually being made to the server.
Re: cant run server port 7777 on centos 6 -
AmirHossaiN - 04.07.2015
Quote:
Originally Posted by rymax99
Like I said, verify that the packets are actually being made to the server.
|
how can i ?
Re: cant run server port 7777 on centos 6 -
hossa - 05.07.2015
Try disabling your iptables and make sure you have chmodded it.