apache - Can't Install solr on Amazon EC2 -


i trying install solr on amazon ec2. however, can't access solr url people described in results. example, one example shows once start solr, access url port 8080. doesn't happen.

 http://ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com:8983/solr/admin/ 

maybe because version has changed. another example shows when installed tomcat , visit url link below. still doesn't work.

http://ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com:8080 

but when curl, show me content in local.

ubuntu@ip-aaa-bb-c-dd:~/solr/solr-5.1.0$ curl "http://localhost:8080" <?xml version="1.0" encoding="iso-8859-1"?> <!doctype html public "-//w3c//dtd xhtml 1.0 strict//en"    "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>     <title>apache tomcat</title> </head>  <body> <h1>it works !</h1> 

now confused although have followed steps, solr still can't work online!! how can make happen? more specific, how can make links browsable? such http://ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com:8080 , http://ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com:8983/solr/admin/

note: error message visiting url above that:

this webpage not available  err_connection_timed_out 

add rule in appropriate security group enable inbound traffic on port 8080.

type = custom tcp rule protocol = tcp port = 8080 source anywhere / 0.0.0.0/0 

enter image description here


Comments