Ubuntu Servers :: Apache Only Working With Port 80?
Jan 20, 2010
I have a virtual server setup on port 80 that works fine, however, if I change the port to, say, 8080 the browser then fails to connect.I'm using webmin to configure everything, all the other settings seem to work as I would expect.I get the error "Safari canï open the page http://192.168.0.12:8080 because Safari cant connect to the server 192.168.0.1." in safari, and i get something similar on the xubuntu machine in firefox connecting via localhost.It's almost as though theres a firewall in the way, but I think it's more likely to be some config problem.
View 2 Replies
ADVERTISEMENT
May 31, 2010
I have tried setting apache up on port 8000, because my ISP blocks port 80.
When I try to listen on just port 8000, I can never connect, internally or externally. When I try to listen on both 8000 and 80, my internal computers will drop the 8000 from the url and connect on 80, and external computers try to do the same thing, but can't get through on port 80.
I know my router is set up correctly, I have 80, 8000, and 8888 all being forwarded, I have confirmed with [URL] that 80 is blocked, but 8000 and 8888 are open. I am able to connect to gnump3d through port 8888 internally and externally, but not apache2 on port 8000.
netstat -tnap confirms that apache is running and listening on ports 80 and 8000 to all users.
View 9 Replies
View Related
Jan 5, 2011
My ISP Blocks port 80 so I changed the port to 8081 after I do this and restart Apache and use my IP with :8081 after I get a page saying Not Found The requested URL /index.html was not found on this server. I get this same message if I use my real IP or the IP from my router. What can be causing this?
View 2 Replies
View Related
Mar 21, 2009
I have been struggling with this for the past two days and I can't seem to figure it out.SIMPLE GOAL: use subdomains with my wildcard Rapid SSL cert on Apahce2. This is not a chained certificate.Currently my default SSL virtual host, listening on 443 works fine. So, https://www.myDomain.com is recognized correctly by all browsers. But, the below virtual host listening on port 1025 is not coming across to the browser securely. The page renders, but the browsers do not see it as encrypted SSL.
View 1 Replies
View Related
Sep 1, 2011
I'm running both Apache on my site and Etherpad Lite, both on different domains. However, running them both on port 80 causes a conflict. I tried to use a reverse proxy in Apache (this is the configuration -- I'm not sure if I did it right), but it doesn't seem to do anything.
View 1 Replies
View Related
Jun 27, 2011
I have mod_rewrite and mod_proxy loaded properly for the apache2 package in 11.04. I added the following to the bottom of my apache2.conf:
RewriteEngine: On
RewriteRule: ^/$ /test [L]
The server restarts fine, but / is not getting rewritten in the slightest. And when I added the RewriteLog directive, the log file had absolutely nothing in it.
View 3 Replies
View Related
Jul 19, 2010
I had directory browsing enabled in Apache on a previous computer, but I can't get it working again:heres my apache2.conf
Code:
#
#Based upon the NCSA server configuration files originally by Rob McCool.
[code].....
View 6 Replies
View Related
Sep 23, 2010
I want to setup a folder (several really) for websites that use PHP.
I am running Linux Ubuntu with PHP, APACHE installed.
The Apache server works in Firefox as 127.0.1.1 no problem.
The default directory is (DocumentRoot) /var/www This is stored in a file called /etc/apache2/sites-enabled/000-default
PHP executes no problem, if it is in the default directory (/var/www).
However, I'd like to activate PHP in a folder on another hard-drive (also).
In that folder I'd like to store several websites, all which will use PHP and MYSQL.
The problem is, my boot drive where /var/www currently is located has only 2 gig of space (21 gig for operating system, which seems high).
PHP files in the other hard drive do not execute, even under APACHE server.
How can I safely change the PHP enabled folder? How can I add more folders, without erasing the current one?
View 2 Replies
View Related
Oct 13, 2010
I can't seem to get apache to work on a non default 80 port. I've got in to ports conf and changed it to the follwoing.
Code:
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz
[Code]...
View 3 Replies
View Related
Mar 25, 2011
I'm running a server with Ubuntu 10.04 installed. I recently set up a VirtualHost (I'll call it my.website.com), like I have in the past without any problems. But this time, I'm stumped. When I connect to my.website.com, it should hit port 80, right? It doesn't; rather, it hits port 8000. I don't have any rewrites/redirections (I checked wherever possible) and checked apache2.conf (httpd.conf is empty).
View 5 Replies
View Related
Apr 19, 2011
Just set up a virtual host on a different port: 50085. accessing this port always returns me to 'It Works!' page.
The setup:
1. added 'Listen 50085' in ports.conf
2. added a <VirtualHost *:50085></VirtualHost> the content are the same with the site that works with a <VirtualHost *:80>
3. /etc/hosts contains the ip address and the servername
4. apache server has been configtest ok and restarted.
Anything I forgot to configure? How to troubleshoot --> I don't get any data on error log file.
View 1 Replies
View Related
Jul 13, 2011
I want to run these services on these ports:- ssh:8080- shellinabox:80- squirrelmail via apache2 and SSL:443These appear to be the only ports I can generally connect to through various firewalls I encounter. If I try to get apache2 to not run on 80 shellinxabox appears to bind to it ok, but when I visit my site at port 80 via firefox I get apache instead. 1) How do I stop this and get shellinabox and apache2 working at the same time?2) How do I find another free port that isn't firewalled? All I have been trying is starting shellinabox on various ports and trying to connect and this is a very slow process
View 4 Replies
View Related
Nov 7, 2010
I want to run a soft that is daemonized, and listens on port 6789. This soft is launched through a php page, so, by the apache user. The probl�me is that the apache user does not has rights to open / listen on a port. I tried to add apache user to the root group, but it won't help. In the application log, I have this every second :
[code]...
I tried to add apache user in the sudoers with a nopasswd but it's still a no go.
View 4 Replies
View Related
Dec 2, 2010
My Apache is not listening on port 8080. Hence i cant access my server manager [URL]
View 2 Replies
View Related
Nov 11, 2009
I have made out a little software as to talk with my friends through network . there are two parts : one is listening to receive messages ,the other will send messages. but the firewall is bothering .so I want to know if I can make my software listen to port 80 while apache is also running .
View 11 Replies
View Related
Aug 29, 2010
On Fedora 13 is there anywhere else on the system that I have to change to get Apache to Listen to an assigned port, something other than 80. Suppose for instance I wanted Apache to Listen on port 94. I told by the site that their router is forwarding apache to port 94. That doesn't mean I change the Listen in httpd.conf. correct. Apache is still expecting connection on port 80 but in this case 80 then gets forwarded in the router to 94. This is my understanding.
View 5 Replies
View Related
Aug 11, 2011
*Am trying to configure on machine ?MyServer.net? apache on port 8586. *Two applications run on same machine on different ports Jenkins on 8081 and Hudson on 8080.*Request coming to 8586 port should redirect to either 8080 or 8081 on one condition. *The request from client machine coming to MyServernet:8586 looks something like this ?MyServer.net/job/<JOBNAME>/build?token=TOKEN?.
Condition
If <JOBNAME> is ?naveen? apache should redirect to 8081.
If <JOBNAME> is not ?naveenn? apache should redirect to 8080.
[code]...
View 1 Replies
View Related
May 16, 2011
I just tried changed the port that apache runs on from 80 to 8080 (I need port 80 for a difference service so I am changing the apache port). After doing this I load 127.0.0.1:8080 in a browser and get a 404 error generated by apache, if I change it back to 80 it works fine.
View 2 Replies
View Related
Nov 2, 2010
My goal is to provide file access through HTTP to all of my NFS shared drive that i dedicated for public access.
Is it possible to create a website using HTTP which list all of the contains of my NFS shared drive to the public ?
it is failed even just to showmount, in Windows i usually access it using \10.2.2.50Volume_1 on the windows explorer.
Code:
root@sv6:/etc/apache2# apt-get install nfs-common
root@sv6:/etc/apache2# showmount
clnt_create: RPC: Program not registered
root@sv6:/etc/apache2# showmount -e 10.2.2.50
clnt_create: RPC: Port mapper failure - RPC: Unable to receive
View 5 Replies
View Related
Jun 21, 2010
I've searched the web and couldn't find anything simple to configure GlassFish-v2(port 8080) to use Apache's Port 80. Similar to how tomcat's 8080 port workds with mod_jk. Anyone have a sample configuration file of GlassFish or Apache's mod_jk that they have working
View 1 Replies
View Related
Jun 17, 2011
I have multiple jvm instance of tomcat application on a unix server and its running on different port.i would like to redirect the port and uri.How can i achieve this with the help of apache. i heard we can do it using mod_proxy.
[URL]
Currently when i access http://myapp.xx.com/offer i get 404 error.
one way to achieve this is to rename my exploded app name (offers-service-main) to offer. But i dont want to do that.anyway to achieve it.
This what i have done from my side.
1) installed apache 2.2 with mod_proxy
./configure --prefix=/usr/local/apache2.0
--enable-proxy
--enable-proxy-connect
--enable-proxy-http
2) Added the below config in apache
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /offer http://myapp.xx.com:18120/offers-service-main
ProxyPassReverse /offer http://myapp.xx.com:18120/offers-service-main
But the above configuration dosent seems to be work. Let me know if i need to do anything on the tomcat side.
View 5 Replies
View Related
May 3, 2010
I have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.
View 5 Replies
View Related
Jun 4, 2011
I have a website example.com, serving pages on port 80. I want the url example.com/redmine to be rewritten to port 3000, where my redmine server is running, without actually changing the URL. So the user typing in example.com/redmine/test would serve up example.com:3000/test, without the user actually connecting through the port. I know this can work through CPanel, but I don't know exactly how it was implemented. I'm looked at how mod_proxy, mod_proxy_html, and mod_rewrite,
View 4 Replies
View Related
Feb 7, 2010
I am setting up Apache (Fedora 12) inside my home network. From inside my home network I access it without any problem. I need to set it up to access it from internet. I have the following questions. Here is temporary setup for testing purpose.
Internet-->ADSL modem (SEIMENS Speed Stream 4200)---> Apache (Fedora 12)
1. Do I have to do any kind of ports forwarding on ADSL modem. (There is no option to do port forwarding on Modem) May be I need different Model of Modem??
2. I tired to Ping my real IP for modem form another computer from internet. I am even unable to PING the ADSL 's real IP. Why it is that?
View 6 Replies
View Related
Apr 11, 2011
On Godaddy's Simple Control Panel for their dedicated servers, the URL defaults to URL... I would like to change the location to URL....
View 1 Replies
View Related
May 23, 2010
How do you configure the firewall to allow external web access (it's a LAMP server) and internal access for samba shares ?
View 6 Replies
View Related
Aug 18, 2009
I want to run a linux command with apache through web browser and that's is not working. and it's working properly when I execute this command through terminal, where is the problem?
NOTE: apache have the privileges to execute the command
View 7 Replies
View Related
Feb 18, 2010
I want to do a simple port redirect, i.e. whatever comes trough whatever interface on port AAAA will get redirected to port BBBBI thought that iptables -t nat -I PREROUTING --source 0/0 --destination 0/0 -p tcp --dport AAAA -j REDIRECT --to-ports BBBBhowever it doesn't work, e.g. nc -v -w2 -z localhost AAAA gives:
nc: connect to localhost port AAAA (tcp) failed: Connection refused
while
nc -v -w2 -z localhost BBBB
[code]....
View 10 Replies
View Related
Jan 21, 2009
I would like to run ssh server on a port other than 22. SSH works fine both inside and outside (using port forwarding). HOWEVER, if I go to ssh_confing and change the port to port xxxx following the guidelines here: [URL] (adding 'Port xxx") to the ssh_config file.
I get the following message when I type "ssh localhost":
ssh: connect to host localhost port xxxx: Connection refused
I also issued a "ufw allow xxxx", and it did update the table... but I still cannot connect on the specified port. I am running this on Ubunto Server 8.10, and there is no firewall set up. I have tried various ports, and I did restart the server after each change to ssh_config. If I must, I will run on port 22, but I prefer a wee bit more security. do not respond with router issue, this is not connecting through the router at all. I am just trying to connect from the local machine (localhost).
In Summary:
ssh localhost (works on port 22)
ssh localhost (does not work on any other port other than 22... connection refused).
View 1 Replies
View Related
Oct 11, 2010
I can seem to open port 25565 for a java application (executable jar)
I'm running ubuntu server 9 thoroughly up to date code...
Yet connections to port 25565 fail when I have the firewall enabled (sudo ufw enable)
For example canyouseeme.org says "Error: I could not see your service on port (25565) Reason: Connection timed out"
And connections to port 25565 _DO WORK_ when I disable the firewall (sudo ufw disable)
canyouseeme.org says "Success: I can see your service on port (25565)"
View 4 Replies
View Related