LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-17-2014, 05:05 PM   #1
Dugga1
LQ Newbie
 
Registered: Mar 2014
Posts: 5

Rep: Reputation: Disabled
Question Help with CentOS VPS


I bought a KVM VPS with CentOS x64, altough it's showing as Online I'm not able to connect via Putty (SSH) on port 22.
It's like it's offline, even if I ping the IP it would show: Request Timed Out.

I'm connected through VNC though, how can I fix this problem and connect through Putty?

Info:

Cat /etc/resolv.conf shows me:
nameserver 8.8.8.8
nameserver 8.8.4.4

Google DNS.

Thank you very much
 
Old 03-17-2014, 05:07 PM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
What does IP tables show?

--C
 
Old 03-17-2014, 05:17 PM   #3
Dugga1
LQ Newbie
 
Registered: Mar 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by custangro View Post
What does IP tables show?

--C
iptables -L and Cat /etc/sysconfig/iptables shows me:
Attached Thumbnails
Click image for larger version

Name:	936eda7f85acc9c72f41e63bb3b137f7.png
Views:	14
Size:	39.4 KB
ID:	14986   Click image for larger version

Name:	b3b6f8174e01e96177ba03b028b486b4.png
Views:	15
Size:	36.4 KB
ID:	14987  

Last edited by Dugga1; 03-17-2014 at 05:22 PM.
 
Old 03-17-2014, 05:32 PM   #4
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Makes sense why you can't ping.

Try flushing iptables and see if you can connect (just for testing)

Code:
iptables --flush
 
Old 03-17-2014, 05:44 PM   #5
Dugga1
LQ Newbie
 
Registered: Mar 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by custangro View Post
Makes sense why you can't ping.

Try flushing iptables and see if you can connect (just for testing)

Code:
iptables --flush
I'm a Linux Rookie, can you give me the codes to input?
Thank you.
 
Old 03-17-2014, 05:59 PM   #6
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
That is the code. On the server run that IP tables command as root and then try to connect

--C
 
Old 03-17-2014, 06:11 PM   #7
Dugga1
LQ Newbie
 
Registered: Mar 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
No change at all. =/
 
Old 03-17-2014, 06:15 PM   #8
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Can you ping your server now at least?

--C
 
Old 03-17-2014, 06:22 PM   #9
Dugga1
LQ Newbie
 
Registered: Mar 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Request timed out
Request timed out
Request timed out
...
 
Old 03-17-2014, 06:26 PM   #10
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Have you tried from another machine?

What does a traceroute show?

-C
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to FTP to my CentOS VPS from Windows DextrousDave Linux - Server 2 07-07-2013 01:27 PM
GUI VNC on Centos 5.5 vps? enkrypted Linux - Server 2 05-02-2013 05:57 PM
CentOS 6.3, VPS, IP FAILOVER Hirogens Linux - Networking 0 09-03-2012 04:24 AM
CentOS VPS looking to launch firefox lsteacke Linux - Server 1 06-04-2011 08:01 PM
CentOS 5.3 VPS and RealVNC TheN00B Linux - Server 1 03-11-2010 11:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration