Jump to content

Cant connect to C2


Sizzlik
 Share

Recommended Posts

Hi guys..hope you can help me out.

Im kinda new to linux and webhosting but im trying to learn.

I rented a rootserver (debian 9), registered a domain at domain.com and point it to the server..i opened input tcp port 80 and 443 in the iptables..now when i start c2 (even with just the ip given as hostname and no https) i cant connect to c2..it says ERR_CONNECTION_REFUSED.

The system is fresh, nothing installed or changed (except my iptables entry), the domain leads to the right IP. Im having trouble getting SSL running..but for now i would be happy if i could connect even with an unencrypted connection. Im playing around while learning..but now im stuck..please help.

Link to comment
Share on other sites

Look up the screen command.

Basic use is you prefix your c2 startup command with screen. This allows you to drop the ssh connection leaving c2 running. When you reconnect using ssh, typing screen -r reattaches the running c2 session.

EDIT:

You might want to avoid looking up the man page for screen because it's one of those that you can read and be none the wiser unless you already know how to use it!! There are many "How To" type of postings that will show you the basic use you need.

Edited by aethernaut
Link to comment
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...