I'm trying to setup an Apache webserver on my computer in order to practice HTML5/CSS3 for an upcoming competition I'm in. I'm able to access my site from inside my network, but I cannot outside my network. I've had several people try, and they all report that the server just times out. I'm running Ubuntu 10.04 and Apache 2.2.17
I'm trying to set up a small Intranet system to run OpenERP or similar using browser-based clients. I have an Ubuntu machine running 10.04 desktop edition to act as a temporary/testing server until we set up a proper, dedicated machine with 10.04 server edition. I have installed Apache2 from the repos and it is up and running fine - locally. That is the problem, I can't access the server from other machines on the LAN. Ping works, btw. So I've been reading tutorials and howtos for the past week, but for the life of me, I can't find what I'm doing wrong. The standard Apache setup seems to be made to "just work", so although I've looked at the various configuration files mentioned in the tutorials, I haven't actually changed anything.
I've tried, but now I give up. I'm trying to run Apache on FC9. Nothing fancy, no extras, just the default installed apache. [correction, I have coldfusion installed, however the service is not running] I've set the Listen variable to every combination I could think of, with no success. I can set it whatever I like (such as my local IP) on any port other than port 80. If I try to set it to 192.168.x.x:80, it gives me the error message: Starting httpd: (98)Address already in use: make_sock: could not bind to address 192.168.x.x:80
I've run netstat commands to try and find applications listening on port 80 and found nothing. Whenever I chose a port other than 80 to get the service to start successfully, I am able to serve pages locally. But even with my ports forwarded correctly, no one outside the local network can see it. I've checked with nmap that my machine is opening the ports and even cheated, disabling the firewall during testing to ensure it was not part of the problem.
I noticed while locally nmaping my server that whenever I set Listen 192.168.x.x:8081, 8081 is opened, as well as normal port 80. When I stop the httpd service, both those ports are simultaneously closed. Why is httpd opening port 80? I'm assuming this is related to why I cannot assign Listen to port 80. If I run remote scans from sites like www.nmap-online.com and www.canyouseeme.org, nmap-online will report filtered on ports 80 and 8081 if my httpd is running, and if httpd stopped, 80 is closed, filtered 8081.
Can you seem reports success on ports 80 and 8081 if httpd is running, fail if httpd is stopped. I'm sure thats all a lot of information cluttered in to all that. To summarize, I cannot start my httpd server on port 80, and I cannot ever see my webpages beyond my local network. Am I missing something extremely is simple and I'm just over looking it?
The situation is this, I have one of those router cable/wifi. So I have the main pc plugged to the router, the router give local ip for all my network (the others computers connects via wi-fi). Main pc starts up apache under Fedora 12, http://localhost.. works, http://127.0.0.1.. works, http://192.168.0.13 (my local ip) works. But when I try to connect to http://192.168.0.13 from another pc of my local network, it doesn't work. The others pcs are running windows vista.
I go another computers ping 192.168.0.13, responds! From the main computer ping 192.168.0.14, responds! So, there is communication between the machines, but I cant get to work under apache. I tried opening port 80 with iptables, i tried changing apache's port to another.
I'm running OpenSuse 11.3 X64. I have installed apache2, PHP5 and MySQL in order to do some web-design offline e.g. they are for internal network use only. There is also phpMyAdmin installed. The default directory for the "server" is /srv/www/htdocs.
To access a specific site in progress I create a subfolder there then just navigate via h**p://10.13.23.201/NAMEOFFOLDER from my internal network. At least that is how it should work but it doesn't. I created a new folder called wlc so it's directory is /srv/www/htdocs/wlc however when I go to the address h**p://10.13.23.201/wlc I get a Remote Server Or File Not Found error from my browser, there is files in there ,index.php, that should load and apache has been set to recognize *.php files.
I know the theory should work as I can access /srv/www/htdocs/phpMyAdmin by going to h**p://10.13.23.201/phpMyAdmin and it loads just fine. Also the error is different if I go to a folder that doesn't exist for example h**p://10.13.23.201/THISFOLERDOESNTEXISIT will return an Object Not Found error.
I have installed Ubuntu on four machines at work and have been blown away. On my machine I have Apache setup for web development and other machines can "see" it using my IP address. I would like to have it so they can access by the name of my computer though. I have no local DNS server so I guess I need to hard code the relationship in each machine? Ideally I'd actually like to be able to use subdomains (which I use locally to avoid annoying .htaccess path problems). i.e. from another machine on the network to go to [URL].
I'd like a way to see all of the devices on my local network and what their local IP address is. I recall that I used wireshark to troubleshoot a similar problem a while back, but it doesn't seem to have a way to see all of the devices- only the traffic. (I'd like to do this without having to physically interface with my router if possible, and I am in an encrypted network if that matters)
I have installed a web server on my local network. Everything is well configured and web pages are shown correctly from Internet (outside the local network) using the domain or the public IP.The issue is if I try to see that web pages (using the domain or the public IP) from inside the local network. In that case the router config page (192.168.1.1) is shown instead of the web pages.From inside the local network I'm only able to see the web pages using the internal IP address (192.168.1.XX).
I have installed apache php and mysql on my pc during debian installation... some of my friends complain they cannot access my webserver from their home and it's available only within my local network... Please help regarding this...
I am running opensuse with LAMP, and this is my first time setting up this type of server (usually am a windows junkie) My problem i am having is that I am unable to view my website from outside the local network. I have setup my router for a dynamic dns and forwarded all the ports through the router and the local firewall. I ran the apache setup through YAST2 and everything seems fine locally but when i attempt to access it elsewhere its not connecting. computechsolutions.dyndns.biz is the dynamic dns address i have setup through my router.
I've got an Ubuntu server hosting our websites and other various things here in our own home. We recently switched to a router that doesn't support loopback (abomination), so I've set up hosts files on our computers so we can access our own sites when on our home LAN.
However, we often take our laptops as we travel about, and I'm guessing due to the hosts files when we try to access our sites, it'll look on whatever local network we're connected to for our server, which won't work, obviously.
Is there a way to set up something like a hosts file that'll only try to look up the local IP of the server when we're on a specific network (our home one), or have one that tries to look for the local IP first, then proceeds to try and resolve the domain name and use the external IP if the local IP doesn't work?
I have a base install of a LAMP server on my system, and I'm trying to get mod_rewrite working on that local server (the directory of the local site is [URL]. I added this to my /etc/apache2/httpd.conf file, which was blank before I did so:
Code: <Directory /> Options FollowSymLinks AllowOverride All Order deny,allow [code]....
It's supposed to redirect everything except the listed directories to index.php, which is used as a front controller. However, if I type in [URL] <any other page> I get a 404 error.
I just getting back to working with linux. I'm having a problem with what seems to be an iptables thing or something easier than that, Enough here is the question I can get apache to run on the local machine by either going to http://localhost or by the ipaddress on the CentOS machine. But for some reason when I try to take a look on my laptop (on the same network) and try to go to it using the IP address is doesn't go. I can ssh from my laptops but it will not open the apache startup page.
I'm working with a Ubuntu 10.04 LTS system with two network interfaces (both Ethernet). I wish to setup this system such that it is simultaneously connected to my local and an OpenVPN network and able direct traffic between the connections depending on what program is sending the traffic. The problem: Under my current OpenVPN configuration all network traffic is directed to the VPN.
In practice, I would like OpenVPN to operate out of one of my two network interfaces and leave the other interface connected to the local network. Then by default all network traffic should be directed to my local network unless I specify (on a per program bases) that certain traffic should go though the VPN. These two network connections can (should) stay completely independent of each other and do not need to talk to each other.
I have two networks. One of them is wired, the other is wireless. The wired has an internet connection and a few other computers connected to it. The wireless network has a few hosts connected to it too, but it has no internet connection. What I've been trying, fruitlessly, to do, is make all connections that are bound to the internet, or my wired network, be routed that way, and all the connections to the hosts of the wireless network go that way.
Here's the setup..
192.168.1.0/24 Gateway = 192.168.1.1
Route internet through here
192.168.2.0/24 Gateway = 192.168.2.1
If my computer sends a packet to the internet, it should be routed through 192.168.1.1 If I send a packet to one of the local hosts of the wireless network, it should be routed through 192.168.2.1. Here's the routing table I've set up(This is one of many configurations I've tried)
$ ip route show 192.168.2.1 dev wlan0 scope link 192.168.2.0/24 via 192.168.2.1 dev wlan0 src 192.168.2.4
With this, and everything else, I get destination host unreachable when pinging. The strange thing is that, if I unplug my eth cable, reboot and connect to the wireless network, everything is fine and I can access the router and the others. I'm trying to improve my networking skills, as I've had this of setting up a small linux box as a router for quite some time, for the fun of it, but I need to get routing under control before I go ruin my network.
If i want to use SSH to log on to my home computer, which is connected to the router, how do I go about connecting to it?If I get my external IP of the computer at home, it will show me the external IP of the router correct? Then I need to forward the router's external IP to my computer at home. But then, how do I connect using ssh? or do I need to consider my local IP of the computer at the router's network?
up until about four days ago connecting to the local LAN was as simple as booting Ubuntu, and letting nm-applet automatically connect on Auto Eth0 But the other day it just randomly stopped working, with no cause that I can think of. I can still connect to the internet (This is via a PPPOE connection, running through the same wired interface) so it can't be a hardware problem with the ethernet port/cables themselves. nm-applet just stays spinning in circles, and nothing ever happens. I tried deleting the auto Eth0 entry, and creating another LAN entry with exactly the same settings, but I still get the same problems. way to completely restore nm-applet settings? Or some other way to give me access to the local network?
I've been having strange local network behavior with my Ubuntu 10.04 box. First off DNS was pretty flakey, but I replaced the automated DHCP servers with 18.104.22.168 and 22.214.171.124. Now I see very strange behavior in my local network, the symptoms of which are frequent dropped connections trying to use FTP, VNC, or Samba to try and connect to my other machines. I did a tracepath and got this back:
tracepath 192.168.1.136 1: 192.168.1.105 (192.168.1.105) 0.112ms pmtu 1500 1: no reply 2: no reply 3: no reply 3: 192.168.1.105 (192.168.1.105) 3002.961ms !H Resume: pmtu 1500 [Code],,,,
Running Ubuntu 9.10. In the Remote Desktop config dialog I get: "Your desktop is only reachable over the local network. Others can access your computer using the address 127.0.0.1 or tabatha.local." I understand this means only the loopback ip address is available. All my other machines show their true local ip address (e.g., 192.168.1.104) in this dialog. Thus I cannot log on to this desktop from other machines.
When I try to do a remote logon from another Ubuntu 9.10 box (or from an XP box using a VNC viewer), I get: "Connection to 192.168.1.102 has been closed." What steps are needed to make this machine show its actual ip address? All file sharing between the various machines is working properly and all windows shares back and forth between XP and 'nix, and among the the vaious XP boxes and linux boxes are available as designed.
What I am trying to do is reasonably simple, I have 1 Ubuntu Desktop PC and 2 Ubuntu Laptops that are all connected via wireless network (remote desktop works perfect so no network issues)All I want to do is utilise the huge drive space on the desktop machine as a kind of fileshare for the two laptops so backups and music/photo sync can be done. I have managed to do this using Samba in that from the laptops I can write files in Nautilus to the fileshare BUT the files have no owner, no group, and no permissions, this is the if I view from the client or server side.
IE I can navigate on the laptop to the shared are by the URL...in Nautilus right click and add a blank document and call it say "test".If I now have a look at the permissions it says "The permissions of test could not be determined"
I'll apologize in advance for I'm sure this has been covered already, but I'm not sure of the search terms to even use to begin solving this problem. I don't know what I don't know.
I have three computers on my home network and want to reach them by their name instead of IP address since their ip is dynamically assigned. I'm using a Linksys WRT54GL router and have noticed that there exists a "DHCP Clients Table" in the router that seems to hold all the necessary information - host names and ip addresses.
How can I get my computers to use that as the lookup table to resolve the host names? And is this even an optimal way of being able to resolve local names?
I have (adsl router "rebotic") and we are 3 nodes sharing Internet the question is: want make network (exchange files) between me (ubuntu os) and one of my internet members ,and I don't know how can I set up network between us in ubuntu.
So in an effort to increase the speed of my netbook, I removed Ubuntu and installed Lubuntu on it. When I tried to mount my samba share as I normally do, I noticed it wasn't able to connect - mount error(113): No route to host. Sensing something fishy, I attempted to ping the machine (both by name and by IP) - Destination Host Unreachable.The machine I'm trying to connect to is using Ubuntu 10.04 x64. I attempted to ping the other way and it was able to connect to the netbook just fine. When the netbook was using Ubuntu, it was connecting fine. My iptables check out ok, but here is the output of iptables -nvL:
I just setup a ubuntu 10.10 box learn linux and to play around with, and want it to host my website. I can see the web site on my local network no problem but the outside world gets a time out message. I check to make sure everything is forwarded correctly on my router and the dns so i has to be something in ubuntu blocking out-of-network traffic how do i turn port 80 on to the outside world
how to resolve an ip with a port in linux?, how to include this on the dns. So the user don't have to remember the ip address and the port. like the user will only type http://scanfiles then it will resolve the corresponding ip. is it possible?