InMotion Hosting Support Center

How to open new port with SSH putty?

Category: Whm

hareshvidja
Asked:
2013-05-17 5:27 am EST

Hits: 4,951
I had installed openfire in VPS using SSH.. but cor client connection need to open some ports

Using $vi /etc/sysconfig/iptables I had added below lines

-A INPUT -p tcp -i eth0 --dport 5222 -j ACCEPT
-A INPUT -p udp -i eth0 --dport 5222 -j ACCEPT
-A INPUT -p tcp -i eth0 --dport 7777 -j ACCEPT
-A INPUT -p udp -i eth0 --dport 7777 -j ACCEPT
-A INPUT -p tcp -i eth0 --dport 9090 -j ACCEPT
-A INPUT -p udp -i eth0 --dport 9090 -j ACCEPT
-A INPUT -p tcp -i eth0 --dport 9091 -j ACCEPT
-A INPUT -p udp -i eth0 --dport 9091 -j ACCEPT

After this I had restarted configurations by

$iptables-restore < /etc/sysconfig/iptables

Still port not working.. so please help me out.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

BradM
Staff
5,399 Points
2013-05-17 8:28 am EST
Hi hareshvidja,

It looks like we didn't have any documentation showing how to open a port on your server, so I wrote the following guide for you:

Opening a Port

I hope this helps, be sure to let me know if you have any follow up questions.

Thanks,
- Brad

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Social Media Login

   
Social Login Joomla

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!