Jump to content
  • 0
Sign in to follow this  
hadiesyafiq

Cannot connect with client

Question

Hi all actually i just rent new vps...and i import all my files to new vps...all setup are done and no problem at all...but why i cannot connect with my client?

i never change the client all i have setup new IP and server compile...here some photo of my problem...

when i try to login cannot but after i close the client..they have message on putty like "closed connection from 'my client IP' " that's mean it connect but i don't know why it Failed connect to server?

can someone help me to figure what is the problem?

errorip.png

errorip2.png

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi hadiesyafiq,

 

it looks firewall issues. Can you check if your iptables if running or allowed the port?

Also you can check your PACKETVER in vi src/common/mmo.h

Share this post


Link to post
Share on other sites
  • 0
2 minutes ago, pos4da said:

Hi hadiesyafiq,

 

it looks firewall issues. Can you check if your iptables if running or allowed the port?

Also you can check your PACKETVER in vi src/common/mmo.h

mmo.h already i compile with 20151029 exe...how to check firewall because if i use my current hercules..if i use latest one is no problem...my current hercules is my current server...

Share this post


Link to post
Share on other sites
  • 0

it looks you are running in centos VPS. 

 

1. You have to check your SELINUX first using command getenforce and the results should be Disabled

To disable SELINUX, login on your VPS using root user and you can type command getenforce 0 to set disable.

 

2. Second please try to disable your firewall

To check if you have running firewall you can type command on your root login using command 

iptables -nL OR systemctl status firewalld

 

you can temporary disable your firewall using command 

 systemctl stop firewalld then try to connect again on your RO client. 

 

if the issues is firewall, you have to configure your firewall properly and open specific port only.

 

NOTE: DISABLE FIREWALL IS NOT SAFE, IT MAY CAUSE YOUR SERVER OPEN TO PUBLIC.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.