cant run server port 7777 on centos 6
#1

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)
Reply
#2

What? Are you saying players can't connect, or that it can't connect to your MySQL server?
Reply
#3

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
Reply
#4

IP and permission to scan it?
Reply
#5

Quote:
Originally Posted by rymax99
Посмотреть сообщение
IP and permission to scan it?
its on intranet and you cant connect to it
Reply
#6

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.
Reply
#7

i checked open ports by nmap , 7777 wasnt in nmap list

please help me and show me a way to open port
Reply
#8

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.
Reply
#9

Quote:
Originally Posted by rymax99
Посмотреть сообщение
Like I said, verify that the packets are actually being made to the server.
how can i ?
Reply
#10

Try disabling your iptables and make sure you have chmodded it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)