Server :: Apache Is Not Listening On Port 8080?
Dec 2, 2010My Apache is not listening on port 8080. Hence i cant access my server manager [URL]
View 2 RepliesMy Apache is not listening on port 8080. Hence i cant access my server manager [URL]
View 2 RepliesVERY new to linux, erm but I have an issue that needs solving!I recently moved to university, where their network blocks sftp port 22, this means that I cannot connect to my FTP server which is running a version of linux.Now I've got this ftp server connected to a seedbox and it was created using the following walk through..Code:I have written this guide for a friend, but I though it would be useful for others as well.
There are several guides floating around, but I found that most always cock up in some way. This one is tried and tested to work on Debian Etch (on an OVH rps, but should apply to most servers).If there is a new stable release of rtorrent/libtorrent then I will update this guide to show you how to update it (without reinstalling the whole server).
At the bottom there are also instructions to install ftp access & some network monitoring software.Basically, I would really like someone to be able to construct the commands on how to change the listen port for sftp connection on linux or add another port to the list that Linux would use so that I could put in through putty.
I have got a reverse proxy that is working just fine, it accepts requests on port 443 and port 80 and ONLY sends traffic upstream to port 80 to the apache server listening on localhost. I use the following config:
https_port 10.14.1.72:443 cert=/etc/squid/self_certs/site.crt key=/etc/squid/self_certs/site.key defaultsite=site vhost
cache_peer 127.0.0.1 parent 443 80 no-query originserver login=PASS
http_port 10.14.1.72:80 vhost
My problem is the following : The site should act differently in some occasions based on whether http or https was requested. So my idea is to setup second http vhost on apache listening to port 8080 and on that vhost I would server the https code. So is it possible to use SQUID to :
Send traffic destined for port 443 to localhost:8080
and
Send traffic destined for port 80 to localhost:80 ?
I am a network/system Administrator in an avg. based company, we are using Cent Os as servers. We are developing applications in both php & java, for java we are using apache tomcat as server (port number 8080) & for php we are using apache as server (port 80). Php applications are uploaded in the server and giving the link to our clients like localhost.com/chrome. Now we are planning to give the java based application for testing purpose to clients & can give the application link to client as localhost.com:8080/mozilla. Is it is possible to change the link localhost.com:8080/mozilla to localhost.com/mozilla with out changing the portnumber of apache tomcat server & without interrupting the php applications, that means our clients can access php application as localhost.com/chrome & java application as localhost.com/mozilla in the same server at the same time.
View 9 Replies View RelatedI edited "sshd_config" file and changed port 22 to a new port. After I restart ssh, it listens on port 22 and the new port. How can I disable SSH to listen on port 22? I'm using Debian.
View 6 Replies View RelatedI am having trouble getting my FC10 with tomcat visible to the outside world. first off i am somewhat new to linux. I am running vmware workstation to host my linux web server. i have my VMWare setup to use my second NIC solely. it is bridged and the tcp/ip is disable from the host. i can ping the ip address but cant access tomcat on port 8080 from the outside. i can hit it fine from inside fedora. i have configured my router (wrt54gs with DD-WRT firmware) for port forwarding. so basically i think that the problem is somewhere in between the host and the vmware configuring allowing the port to be forwarded through.
View 2 Replies View RelatedMy first time installing centos server and adding it to xp home network. I am new to setting up my own network in general. I have a home windows wired ethernet xp network (simple linxs router) with 2 xp boxes and one centos5 box all connected to the same router. I just set up the centos box running tomcat on port 8080. I need to do two very basic things at this point, but am not sure what I need to do:
What do I need to do so I can:
1. Connect in firefox on one of my xp boxes and call the tomcat server running on my centos box?
2. Be able to ftp to centos box from either of my xp boxes?
I have 2 server behind the netgear router on my network . win2k3 and CentOS development server, I have port forarded 80 to win2k3 server which i can access over the internet and is accessable. However I can SSH CentOS machine and portforwarded 8080 and 82 for web access, I can't access via any of the port, browsers says UNABLE TO CONNECT.. there is no firewall in CentOS machine.
View 1 Replies View RelatedCode:
[Sun May 22 04:02:06 2011] [notice] SIGHUP received. Attempting to restart
(98) Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Above message is from /etc/httpd/logs/error_log.1. Saturday morning I reinstall my server. After finish, no error. I can access my HTTP server. Monday morning it has crashed. I don't know what is the meaning about this message.
I'm using iptables with modules ip_contrack_ftp to be able to use passive ftp. It works well as long as port 21 is being used as listening port. Is there any way to make it work when I configure my ftp server (vsftpd) to listen on an alternative port, lets say 21001 or something? The helper module only seems to be working properly with the standard port, so I was wondering whether there was a way to "tell it" that another port is being used? I mean, of course I make a rule in fw to allow traffic to the alternative port.
But once it's time to start passive connection, then the iptable module cannot handle it properly. I could solve the problem by making a range of passive ports in the ftp-server configuration and allow the incoming traffic to them, but then using helper modules doesn't make any sense. I just want to allow the traffic to the listening port and then want the ip_contrack_ftp module to take care of the rest. This is what I do today - but only port 21 seems to be working. Is there a way to do this with a non-standard ftp port?
I am very new (since yesterday) to Linux also new to web server setup. I have installed all LAMP components, including SSL as described here: [URL]. I have added LISTEN 443 Wanted to restart the apache server -> no success ! stopped it, now doesn't start at all:
Warning msg=>
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:44 no listening sockets available, shutting down . .
Failed
I tested Apache and my PHP earlier and it worked. Now after SSL and FTP installation it doesn't work anymore! Also I am wondering about my server name, it is the set IP of the web server, surly i should change that? Only used link for SSL set-up, used diff links for apache php etc (also have java JRE installed as I will need that later for my app) also have GNOME available, but prefer command line.
i am not able to port 8080 on my CentOS VPS server.I have followed all the instuctions as mentioned on iptables wiki page.Also I am able to telnet my ip address and port number, But can not access from browser.
View 6 Replies View RelatediSCSI Server, can I change the default port 3260 to other port ?
View 1 Replies View RelatedFinding the process that is using a certain port in linux
I have an Ubuntu Server setup, where I'm trying to set up a daemon that wants to have access to port 8080. When I run the command, the error message says it's being used by another process. But which one, it doesn't say. How can I go about finding which program uses this port?
I have a iptable as firewall, I want to open incoming of port 8080 so I use "# Allow forwarding of incoming Port 8080 traffic" but it didn't work? how can I open just incoming of port 8080?
View 3 Replies View RelatedCurrently my home internet provider does not allow services on ports 1 to 1024 but allow the use of high ports to whatever users want to do and I was wondering what ways are there to mask my webserver @ ip:8080 and yet maintain the servernames ? For example currently if I use myexample.com:8080 it will open just fine but I know there some ways to make it look like if port 8080 never existed, one example of this would be using a proxy server somewhere else to redirect the access but I don't have one available nor money to use for this.
In the above case what would happen is that when user hitted the proxy server it would redirect and query my server so user would never know 2nd server existed at all. Another way would be creating a page somewhere else and put your site as a iframe or frame which would hide it but may be a problem to some browsers etc...
So I belive the question here is what options do I have to mask my server at 8080 to look like a transparent webserver? While I do know this seems a bit technical I belive the place to ask this question would be here instead of serverfault
I will be setting up a web server at my house. It will be a simple page for my family to keep in touch and maybe some other stuff. Here is the problem: I believe my ISP blocks port 80. So when setting up the firewall and it list the normal port 80 am I able to edit to say 8080? I have a ddns already setup for my router and I am waiting for an email back from DynDNS.com on setting up a new domain to forward to my already setup hostname. I just need to get everything redirected to another port beside 80.
View 4 Replies View RelatedI am setting up tomcat server on my Centos 5.5 machine. I've been advised to run tomcat on 8080 as non root user and redirect traffic to it from port 80.
I searched and found the following iptables commands for this:# iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT -to-ports 8080
# iptables -I INPUT -p tcp --dport 8080 -j ACCEPTI have a doubt:
Tomcat is not accessible via port 80 without the second command. But the second command opens 8080 and makes it accessible over the internet (tomcat is accesible via both: www.<website>.com and http://<ip address>:8080). This doesn't seem right. Is there some simple (iptables) way to redirect traffic "internally" from port 80 to 8080 without having to open 8080 to the internet.
I'm trying to open port 8080 on my application server. I've included it in my iptables; however I still cannot access through ssh nor putty and it doesn't show up when I netstat either.Here is my iptables-config:
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i eth0 -s xxx.xx.x.0/24 -j ACCEPT
[code].....
When I do netstat -pantu it shows a dash where the pid would be. I have also checked lsof -i and see no pid associated with the port. How do I find what program is keeping the port open?
View 1 Replies View RelatedI am running Ubuntu 64-bit and I have been trying to set up an ssh connection between the Ubuntu server and a Windows 7 client (using putty) and when I enter the command:
Code:
sudo netstat --inet -lpn | grep sshd
I get the following:
[code]....
I know that ports are, by default, not filtered; they simply don't respond to requests if there are no services listening on the port. Well, running netstat -tulpn gives:
Code:
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
[code]....
I had to reinstall my DMZ webserver the other day. Now I cannot figure out for the life of me figure out why Apache refuses to listen on eth1 it will only listen on eth0. I have it setup so that it listens with * I'm not specifying a particular IP for it to listen on. When I do specify it still doesn't work.
View 9 Replies View RelatedI'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 RelatedHow can I find out which process is listening on a port on linux?
View 5 Replies View RelatedIs there a way to determine what program is listening to some port, TCP or UDP, in Linux?
View 4 Replies View Relatedupdate:
Code:
luke@media:~$ sudo service bind9 restart
* Stopping domain name service...
[code]....
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 RelatedI 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.
Currently Im having a syslog server that consolidate firewall logs on port 514 udp. Im also having a IDS device that I wish to push its logs to this particular syslog server so that I can retrieve my IDS logs on this server as well.
Is it possible to do so?Having syslog listening on port 514 for both firewall and IDS logs? If it is possible will the logs be recorded in a single log file?Or will it be recorded in a separate log file ie. firewall.log, IDS.log etc?? I wish to have them in separate individual log files or else there will be hard time segregating the log entries in a single file. Can anyone advice on how to achieve this??