Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.
Buying anything on Amazon? Please use the Geekzone Amazon aff link.




2081 posts

Uber Geek
+1 received by user: 353

Subscriber

Topic # 141099 1-Mar-2014 12:23 Send private message

I'm having a play with running the Unifi software up on a AWS instance.

I thought it would be relatively straight forward, launch instance, install Unifi, set up security groups and I'm away.

So I have the following,
- Ubuntu 12.04 LTS
- Elastic IP assigned to the instance (54.206.47.245)
- Security group set up with ports for Unifi (TCP 8443, 8080, 8843, 8880 and UDP 3478, as well as SSH & ICMP obviously)
- Appropriate iptables rules in the VM for the above ports (accept rules in the input chain, no output or forward rules yet)

I can connect with SSH no problem. But I can't access the controller management which appears on 'https://54.206.47.245:8443/'

I am fairly certain the controller is running and listening...
'netstat -tlp' returns
tcp 0 0 *:8443    *:* LISTEN 853/java
tcp 0 0 *:27017  *:* LISTEN 740/mongod
tcp 0 0 *:8843    *:* LISTEN 853/java
tcp 0 0 *:8880    *:* LISTEN 853/java
tcp 0 0 *:http-alt *:* LISTEN 853/java
tcp 0 0 *:28017  *:* LISTEN 740/mongod
tcp 0 0 *:ssh      *:* LISTEN 635/sshd
tcp6 0 0 [::]:ssh [::]:* LISTEN 635/sshd

If I do 'netstat -a|grep 8443' I get...
tcp 0 0 *:8443 *:* LISTEN
tcp 518 0 ip-172-31-2-149.ap:8443 125-236-XXX-XXX.a:52095 CLOSE_WAIT
tcp 518 0 ip-172-31-2-149.ap:8443 125-236-XXX-XXX.a:52094 CLOSE_WAIT
tcp 518 0 ip-172-31-2-149.ap:8443 125-236-XXX-XXX.a:52234 CLOSE_WAIT
tcp 518 0 ip-172-31-2-149.ap:8443 125-236-XXX-XXX.a:52235 CLOSE_WAIT
tcp 518 0 ip-172-31-2-149.ap:8443 125-236-XXX-XXX.a:52154 CLOSE_WAIT

....which shows the connections from me, not sure why they are on close_wait. Maybe that's a clue?

So my overall assumption is that the security groups are set up properly in AWS and the controller is running on the server. But I figure I must be missing something in AWS - perhaps in the VPC side of things.
From what I can figure out from the VPC part is I have routes to the internet and appropriate firewalling.

Am about to put it in the cant be bothered basket but thought i would post up here first.

Any help much appreciated!

Thanks,
Sam

Create new topic

This is a filtered page: currently showing replies marked as answers. Click here to see full discussion.



2081 posts

Uber Geek
+1 received by user: 353

Subscriber

  Reply # 998393 3-Mar-2014 20:31 Send private message

Will update myself..

I put Apache on to the VM just to test basic connectivity... and it worked fine.

Looks like my problem is with the actual software/server set up and not the AWS settings. At least I know I'm doing something right!!

Create new topic




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





Trending now »

Hot discussions in our forums right now:

Netflix officialy launching in NZ in March
Created by jarj, last reply by tdgeek on 21-Nov-2014 19:08 (97 replies)
Pages... 5 6 7


Gull Employment Dispute.
Created by networkn, last reply by Geektastic on 22-Nov-2014 17:30 (61 replies)
Pages... 3 4 5


Which one is right for me? M8, Z3, S5 or other?
Created by makiomoto, last reply by makiomoto on 20-Nov-2014 13:52 (40 replies)
Pages... 2 3


Slingshot line speed
Created by Frankiej45, last reply by Frankiej45 on 20-Nov-2014 14:38 (14 replies)

Chief Censor - He's at it again!
Created by scuwp, last reply by Nebbie on 19-Nov-2014 16:23 (42 replies)
Pages... 2 3


Little Wins labour Leadership
Created by MikeAqua, last reply by Aredwood on 21-Nov-2014 18:47 (53 replies)
Pages... 2 3 4


Orcon: Why did you cancel my email account without telling me??
Created by old3eyes, last reply by old3eyes on 21-Nov-2014 17:03 (13 replies)

Council recycling.....
Created by xpd, last reply by richms on 19-Nov-2014 17:17 (27 replies)
Pages... 2



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.