Where this dashboard IP is coming from or hitting to? - openstack-horizon

I am new in OpenStack and presently exploring it. We have an installation of Openstack Icehouse. Everything works fine ( few occasional bugs! ). I was just wondering where the dashboard public IP x.x.x.40 is coming from. I checked the following-
on controller the http server is bound to management IP:80 and running as it should be.
the external interface of controller is assigned x.x.x.41 i.e the very next of dashboard ip
netstat -tuplen and ifconfig do not show anything like x.x.x.40
My question is where this IP is coming from or hitting to? Can anyone point out. Thank you very much for your time.

Related

Configuring apache webserver to view default page over the web publicly by using ip address(dynamic)

I am new to configuring apache webserver(this is my first time) and over the last few days i have been trying to configure apache so as to view the default page over the internet.I have been successful partially in being able to view the default page over local host on the network. The problem really comes over when I try to view the page over the public ip of the server.Every time i try the page reports a time out and/or an error in connection, so I have increased the time out from 300 to 3000(the issue remains). I have searched extensively over the internet and based on the findings i have configured apache to grant all connections, i have also configured the firewall on my linux system to allow incoming & outgoing. Further I have configured my dad's huawei hotspot e55** series as mentioned in the link here https://portforward.com/huawei/ . I have also tried to configure my internet connection for port forward from external to the internal ip however what i observe is that after i do that my internet connection seems to get disabled and I would have to delete the connection and add another one.At this point it looks like that I might be missing out something here and I believe a little help from the apache experts might just help me achieve my goal to view the default apache web page over the web using the system (public)ip(using whatismyip on google search).
I think the public ip provided by your ISP cannot be used for hosting the website on the internet please contact your ISP to get a public IP that can host websites over the internet , or get a cloud hosting server.

Domain pointing to IP address (Centos), where is running application

to be honest, Im not experienced in networking and I need your help. What's the problem?
I have a domain, which should pointing to IP Address, where is the application (orangescrum) running. This was set by our IT Department.
Firstly, Im a little bit confused, because when I ping this domain, I expect to get the IP address of my centos machine, but the IP Address is different. (centos machine has a private IP, I receive another public IP address).
Thats the first issue, which I dont understand.
The second problem is, that when I open the domain in browser, I get the application, but without some images, javascripts, which should be included in application folder. I think, that the database doesnt work as well (I cant log in to the application).
Application worked very well on my localhost, but as I pointing the domain to this ip address, there are a lot of think, which are not working.
I know, that I didnt explain the issue very well, so feel free, if you need to specify anything about the set up.
Thank you so much in advance for any idea.
You need to route your machine if you want to access as public static IP or Private add to your DHCP web router if you got admin access http://192.168.1.1 or http://192.168.1.254 debian of ISP try too.
sudo ifconfig
In a intranet context you can add to your hosts the ip_lan domain.lan.com
on linux : sudo nano /etc/hosts
on windows : cmd as admin
notepad c:\\windows\System32\drivers\etc\hosts
the first may be solve the second problem, if no, just look on the code source looking for your "localhost" domain writed on the code source to changing/adding as a variable global and only one reference domain, simple for editing in the future.

DNS help, server not responding outside home network

I am aware that this question does not really pertain to programming but I have now resorted to using you guys, so please help!
So I believe my problem resides in the DNS region, I am hosting a web server on my raspberry pi and am trying to use it to host my website(codetendency.com), I bought my domain from godaddy.com and I pointed "#" to my raspberry pi's IP address and when I try to access my website at home through my home network it works out, but when I tried to access it from my phone on my mobile data, the server doesn't respond.
I would greatly appreciate any help you guys could give me.
The name codetendency.com resolves to the IP address 192.168.0.201. That address is part of the private address space (see RFC 1918), which is not routed on the public Internet. If you want your server to be visible on the public Internet, you must provide a real IP address.

Domains not loading - server working fine...any ideas?

I run a high volume website and since yesterday it's not working.
My server (for example) 100.0.0.1 is working fine, I can access WHM etc, rootssh no problem....
Yet none of the domains are working, they say cannot find page.
I have my name server setup at Godaddy using domainname.com
Pointing to 3 IPS, 100.0.0.1, 100.0.0.2, 100.0.0.3
All my domains then have ns1.domainname.com, ns2.domainname.com, ns3.domainname.com
As their Nameserver entries.
This was working fine yesterday, now...nothing.
Any ideas on what I can do? Troubleshoot.
Thank you, I am losing alot of trade as I run an high traffic eCommerce website, so would like to get this fixed as soon as possible.
Have you tried using the IP of the server instead of the domain name? Could roll out a DNS issue. You said you can gain root access fine.
Have you checked your firewall to ensure the correct ports are still open?
If you run a netstat command to check what type of traffic is occurring.
Run this command and then try to access the domain or IP to see if the connection is established or if the service is listening. (watch -n 1 netstat -nat)

xampp server (How to get up and running)

I've been developing locally on a little ubuntu netbook with xampp for about 7 months. Two weeks ago I got a computer I'd like to use as a server. I've installed the latest Ubuntu distribution and xampp, moved all my files over, and forwarded port 80. I've also got a domain name from dyndns.com which is being updated by a client which runs in my router (a Netgear WGR6154 v8).
Now, when I try to access my server by typing in the address I got from dyndns.com the browser loads until it timesout. I can access everything locally using localhost as the address so I believe xampp is running, just unable to connect with the internet.
In order to be able to view my files over the internet what should I do next?
Thanks to all in advance...
[I'm starting a bounty for the first person to help me get my files successfully online]
You have a combination of issues here, and that is something of a problem. Each issue is complex in an of itself. Here is what I would recommend to get you going for certain.
First verify that you can surf the web from your server. This will confirm that you have a working ethernet interface.
Step 1 make sure that XAMPP, and your files are viewable from your home network. I assume you are using something like 192.168.1.X for your network and perhaps your server is 192.168.1.10
Go to another computer in your house and type http://192.168.1.10/ and see if you can see your files. If you can then you know that the server is properly configured and XAMPP is working.
Then add an entry to your hosts file to resolve yourdnsrecord.com (or whatever your dyndns record is) to your private ip address. Then when you type yourdnsrecord.com into a browser from that computer you should still get your files. This will rule out your server being improperly configured to listen for that domain name.
Next you need to test to see if there is a firewall problem. To simplify this, first remove your home router from the equation. Instead, place your new server directly onto your internet connection. (assuming you can). This way, you do not need to have NAT or firewalls properly configured. Your dyndns name should map to a public IP and your server should then have that IP and be connected directly to the Internet. If you have your server directly connected, and the command ifconfig from the root prompt returns the same public IP address that your dynamic dns record is point to, then it should work.
It will make your life easier if you have an iphone or some other way to test how your network is seen from the Internet.
If your public IP as shown by ifconfig is different than the IP record in your dyndns account, then your dynamic dns update script is broken. manually set the IP, and see if things work.
It is very possible that this will not work. Some ISPs firewall port 80 preventing their subscribers from hosting servers. Once you have your server directly connected to the internet you can test this (even if your dns is not working) by using the public IP address. As root, type ifconfig from the command prompt to get your public ip address. Then type the command tcpdump -i eth? port 80 from the root prompt. eth? needs to be the same interface that you saw had a public IP address from the ifconfig command. usually this is eth0 but it might be wire0 or something like that.
This command will show you all traffic coming on port 80 to your server.
From an iphone (or whatever second Internet connection you have) browse to the IP address that you got from your ifconfig command. If you see something on your server (and it is directly connected to your ISP) then your ISP is not firewalling you.
If you can get to your server, when it is directly connected to the Internet, either by IP address or by DynDNS address, then your ISP is OK and it is time to debug your firewall.
Two things need to work for your firewall to be configured NAT, where the public address that your router gets from your ISP is converted into your private network and a firewall rule which permits that traffic. If you get this far, then you know your firewall is the problem and then it is just a matter of getting its configuration correct. There are far to many home routers to document here, but you usually can find how-to instructions for your router for this task from the manufacturers website (usually it is part of the manual)
If you follow these instructions exactly you will get your system working. Make comments on the process and I will be happy to modify this to make it clearer.
HTH,
-FT
You should make sure your xampp is not listening to only the localhost.
to do so edit your apache configuration file and check and search for Listen directive
you should be able to know also by analysing the output of netstat -a.
After that make sure your router is forwarding properly, using tcpdump would help.
drop me a comment if you need more help.
Cheers

Resources