c1b3r Posted March 10, 2022 Share Posted March 10, 2022 Hello guys,im having problems with the webserver to setup the c2,i got my server machine on GCP,and my dns its from cloudflare,so i dont know how to NOT SPECIFY the ssl certificate on the command line. Anyway,using the command "sudo ./c2-3.1.2_amd64_linux -hostname domain.net -https" gives me the error [*] Initializing Hak5 Cloud C2 v3.1.2 [*] Hostname: domain.net [*] DB Path: c2.db [*] Initial Setup Required - Setup token: [*] Running Hak5 Cloud C2 [!] Webserver failed to start: listen tcp 0.0.0.0:80: bind: address already in use [*] Shutting down gracefully [*] Server stopped i stopped the apache2 service with sudo service apach2 stop,and use the same command but gives me another error,now with 443 [*] Initializing Hak5 Cloud C2 v3.1.2 [*] Hostname: domain.net [*] DB Path: c2.db [*] Initial Setup Required - Setup token: [*] Running Hak5 Cloud C2 [!] Webserver failed to start: listen tcp 0.0.0.0:443: bind: address already in use [*] Shutting down gracefully [*] Server stopped Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted March 10, 2022 Share Posted March 10, 2022 Other than C2, what do you have running on that server? Quote Link to comment Share on other sites More sharing options...
c1b3r Posted March 10, 2022 Author Share Posted March 10, 2022 4 minutes ago, dark_pyrro said: Other than C2, what do you have running on that server? Nothing,i stopped the apache2 service ,but if i use the command "sudo netstat -pontelu | grep 443" i got the following: tcp 0 0 ipserver:443 0.0.0.0:* LISTEN 0 1428706 18735/sslh off (0.00/0/0) Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted March 10, 2022 Share Posted March 10, 2022 OK, I'm not familiar with GCP and have no idea how Google sets up any service around (or in) it all. Something is clearly using that port. Don't know what OS that VPS is running but can you spot anything strange/suspicious by listing running processes? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.