Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jan 01, 2015 6:13 am 
Offline
Senior Newbie

Joined: Thu Jan 01, 2015 5:57 am
Posts: 10
Hi there
I have installed a Oracle Applications server on Linode on a public-ip, on CentOS 5.6. This server has got its own Oracle HTTP (Apache) server in built under it.

I am able to access the server's front-end internally on the server through URL - http://<server:port>/OA_HTML/AppsLogin. But the same URL do not work over internet despite the fact that I have configured the entire server on the Linode Public IP.

So when I type the above URL on Firefox browser it gives message 'The connection has timed out'.

Here's what I have done so far to try with different ways, but unfortunately I am still unable to access above URL over internet:
1. Tried by completely disabling the firewall (iptables) and SELinux.

2. Added both 8000 and 80 ports to Listen under the above Apache server httpd.conf file.

3. I can ping the Linode's Public IP Address over internet. This is the same IP which is assigned to above Oracle Server.

4. I have also checked to make sure that the above server domain is working on port 80. That is, by installing another external httpd server (yum install httpd), and then configuring the Apache to reach to a home page. This configuration is simply adding the domain under /var/www directory with a default 'index.html', and redirect to the above Oracle Server URL.

Anyone know how to make port 8000 work over public IP?

Thanks in advance.


Top
   
PostPosted: Thu Jan 01, 2015 8:25 am 
Offline
Senior Newbie

Joined: Thu Jan 01, 2015 5:57 am
Posts: 10
Someone said the following about the above Oracle server hosted on Amazon EC2. How can I do something like this on Linode?

"On Amazon aws console, go to network and security and in the security group used with this instance, allow the external ip address of your computer's network to access this instance with whatever port you are using i.e. 8000. Once you allow your external public ip address to access this instance, you should be able to access the Oracle Applications login page."


Top
   
PostPosted: Thu Jan 01, 2015 6:54 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
Perhaps your ISP is blocking connections to port 8000. You can try using a different ISP, or post the URL here and we can try to access it.

There are generally only going to be two causes originating on your Linode of the problem you mention.

1. The firewall is blocking access to the port in question. You say the problem persists even after disabling the firewall, so this is unlikely.

2. The program is not listening on port 8000 for some reason. This could be because it isn't running at all, or because it is not configured properly. You can run netstat -lvpnut on your Linode as root to see what programs are listening for network connections.

If both of these are OK, the problem is likely elsewhere. A traceroute -T -p 8000 hostname run from outside your Linode ought to show you where the packets are being blocked.


Top
   
PostPosted: Thu Jan 01, 2015 11:15 pm 
Offline
Senior Newbie

Joined: Thu Jan 01, 2015 5:57 am
Posts: 10
Thanks for replying. Based on the following 3 tests for traceroute, it reaches the linode server when I use the IP behind the hostname with port 8000 (see test 3). whereas simply using hostname:8000 doesn't leaves my ISP Gateway.

But the server URL do not get displayed even when I give the IP Address based url with port 8000 - which is <hostip>:8000. So I am not sure why can't I see my server's URL. Thoughts?

TEST 1 RESULTS - simply with host name example.com
traceroute -T -p 80 example.com


TEST 2 RESULTS - Host name example.com:8000

traceroute -T -p 8000 example.com


TEST 3 RESULTS - Using the IP Address which is behind the host name example.com:8000

traceroute -T -p 8000 <IP Address>


Last edited by linodelearner on Fri Jan 02, 2015 6:37 am, edited 1 time in total.

Top
   
PostPosted: Fri Jan 02, 2015 4:42 am 
Offline
Senior Member

Joined: Mon Dec 20, 2010 11:37 pm
Posts: 76
Check Cloudflare settings. Is ebs.aclnz.com pointing to 198.58.113.237?


Top
   
PostPosted: Fri Jan 02, 2015 5:25 am 
Offline
Senior Newbie

Joined: Thu Jan 01, 2015 5:57 am
Posts: 10
Yes I can confirm that Cloudflare is pointing to 198.58.113.237.


Top
   
PostPosted: Fri Jan 02, 2015 5:44 am 
Offline
Senior Member

Joined: Mon Dec 20, 2010 11:37 pm
Posts: 76
I think I've found the problem. Cloudflare doesn't "work" with port 8000.

https://support.cloudflare.com/hc/en-us ... work-with-

So, your subdomain (ebs.aclnz.com) must not be behind Cloudflare or use another port to work with Cloudflare (link above)


Top
   
PostPosted: Fri Jan 02, 2015 5:50 am 
Offline
Senior Newbie

Joined: Thu Jan 01, 2015 5:57 am
Posts: 10
Ah..alright, and that's helpful. But out of curiosity I am wondering why the traceroute is working on the same port (traceroute -T -p 8000 198.58.113.237).

If CloudFlare doesn't work with 8000 port then I believe I shouldn't have got a traceroute to linode server. Thoughts?

Thanks.


Top
   
PostPosted: Fri Jan 02, 2015 6:01 am 
Offline
Senior Member

Joined: Mon Dec 20, 2010 11:37 pm
Posts: 76
traceroute -T -p 8000 198.58.113.237 has nothing to do with CloudFlare. You go directly to your Linode.

CloudFlare needs DNS delegation (you use its nameservers at your domain registrant). This way CloudFlare knows how to proxy (or not) those requests (based on your CloudFlare DNS configuration).


Top
   
PostPosted: Fri Jan 02, 2015 6:13 am 
Offline
Senior Newbie

Joined: Thu Jan 01, 2015 5:57 am
Posts: 10
Alright that makes sense. So let me point my domain nameservers directly to Linode, and then I will retry and update back.

Cheers!


Top
   
PostPosted: Fri Jan 02, 2015 6:39 am 
Offline
Senior Newbie

Joined: Thu Jan 01, 2015 5:57 am
Posts: 10
After switching the nameservers to Linode I am able to access the server URL on port 8000. Thanks v much for your help on this one.

Cheers!


Top
   
PostPosted: Sat Jan 03, 2015 6:06 pm 
Offline
Senior Member

Joined: Fri Jul 03, 2009 2:31 am
Posts: 54
ICQ: 897607
You didn't really need to switch nameservers to Linode (unless you had other reasons of course). On the cloudflare dns settings you can specify which domains are handled by cloudflare servers and which get passed directly through to your own.


Top
   
PostPosted: Sat Jan 03, 2015 6:38 pm 
Offline
Senior Newbie

Joined: Thu Jan 01, 2015 5:57 am
Posts: 10
ah..good to know that. So how do I specify that a domain get passed directly - is it by clicking on that 'cloud' icon next to the domain (under dns settings), which turns grey when you switch-off a domain under cloudflare? Which is what I have done now, but as a result I have to specify Linode's nameservers on domain registrar.

Thanks.


Top
   
PostPosted: Mon Jan 05, 2015 6:54 am 
Offline
Senior Member

Joined: Mon Dec 20, 2010 11:37 pm
Posts: 76
linodelearner wrote:
ah..good to know that. So how do I specify that a domain get passed directly - is it by clicking on that 'cloud' icon next to the domain (under dns settings), which turns grey when you switch-off a domain under cloudflare? Which is what I have done now, but as a result I have to specify Linode's nameservers on domain registrar.

Thanks.


You are right about CloudFlare icon.

You are still using CloudFlare nameservers on your domain registrant (from linux console: whois aclnz.com)
Code:
Name Server: JIM.NS.CLOUDFLARE.COM
Name Server: LISA.NS.CLOUDFLARE.COM

You have setup one subdomain in CloudFlare to resolve your Linode instance IP address (ebs.aclnz.com -> 198.58.113.237) and clicked 'cloud' icon until it turns grey.

Said that, you don't need to switch to Linode's nameservers. With CloudFlare you can proxy any subdomain or not (Linode 'only' offers the last one).


Top
   
PostPosted: Mon Jan 05, 2015 7:25 am 
Offline
Senior Newbie

Joined: Thu Jan 01, 2015 5:57 am
Posts: 10
Okay, but the issue I had with Cloudflare (for the specific subdomain) was that it doesn't allow 8000 port to pass through. I had no choice but to switch-off that subdomain on Cloudflare and gave its nameservers at the registrar level.

Am I missing anything in what you are trying to say?

Thanks.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group