New answers tagged

0

In the httpd.conf file, if you have given Listen as: Listen localhost:8080 change it to: Listen 8080 then it will bind the server socket to all available IP addresses on the system. If that is not the case, try looking into the IP tables.


0

If you have in mind TCP port, you can check with netstat, something like this might work: netstat -ntp | grep -v '::' | awk '{print $4}' | grep -E '^[[:digit:]]+' | awk -F: '{print $2}' | sort -n | uniq Of course this is not atomic, so it possible that some port will taken after check operation but before your service will start.


1

You can use netcat to check if port is listening something: PORT_STATUS=$(nc -v <host> -z <port number> 2>&1 | grep open | wc -l ) if [[ "$PORT_STATUS" = "1" ]];then echo Port is occupied fi This of course only works if there isn't firewall blocking netcat. But if you run it locally on the server then at least there shouldn't be any ...


1

nmap is the starting place for this endeavor. nmap tends to get slow for me when I start getting beyond a threshold of targets (ports x ips), so staying within your own shell, you could break into ranges and fork those off to processes, and have each redirect their output to a file, database, etc. For the truely huge dataset, you might consider something ...


0

So after doing a load of research, the fix that worked for me was as follows: Run: services.msc Find "Windows Sync Share" Stop it if running, and set it's startup to disabled. IIS can now bind to localhost:80 I have see no side effects of stopping the process either.


0

Yes this is possible. For example on linux with iptables: iptables -A PREROUTING -t nat -p tcp --dport B -j REDIRECT --to-port A


0

On Mac os 10.9 I see: rsync -e 'ssh -c blowfish -oPort=2212 -ax' rsync error: syntax or usage error (code 1) at /SourceCache/rsync/rsync-42/rsync/main.c(1385) [receiver=2.6.9] hotel:~ tom$ rsync --daemon --help rsync version 2.6.9 protocol version 29 Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others. http://rsync.samba.org/ ...


-1

I have been connecting to AWS all the time using wifi. Make sure you allow SSH traffic to your IP as part of your AWS security group associated with your EC2 instance. Use whatismyip.com to get what IP is your ISP service as established for you. I have seen this change sometimes. Also, make sure you use the .pem file for authentication.


0

In your current configuration all ports are open and your iptables rules for ports http, 2195 and 2196 are redundant. Policy The default configuration of iptables for all chains is policy ACCEPT. Meaning all connections on the chains INPUT, OUTPUT and FORWARD are accepted. To change the policy, i.e. to accept all outgoing and deny all incoming ...


1

What port is your application listening on? sudo netstat -plnt | grep ':PORT' Or alternatively you can try to detect it with the ps command: ps aux | grep -i APPLICATION_NAME


0

If you need to run both Apache and OpenVPN on the same port 443 then have a look at the sslh - Applicative protocol multiplexer. There are two articles in LinuxJournal about it: one is a short editorial (http://www.linuxjournal.com/content/one-port-rule-them-all) and the other explains how to set up Raspberry-Pi as a secure landing point ...


3

Many ISPs block port 25 outbound and instead require an authenticated connection be established on an alternate port (465, 587, in most cases). This is to prevent a compromised computer connected to their network from spewing spam from the ISP's mail servers, whose reputation being lowered or the server being blacklisted likely effects a large number of ...


0

You can do this using the IPTraf collector of Pandora FMS. You will end up measuring every N minutes the ammount of traffic per port, and then you can easilly specify alert thresholds and even reports.


0

Took me a bit to figure this out. While the netstat showed that the port was open, the Win 2012 server advanced firewall was blocking the port. So, important to note here that Windows Firewall overrules whatever is in netstat All we needed to do was create a new rule to open that port, and then we tested via a cool new command line command called ...


1

I think you're going to run into major issues running both IIS and VisualSVN, which installs and runs on Apache, on the exact same server. If I were you, I'd separate them out and give each web server their own VM. I know this doesn't directly answer your question but I'm wondering if your original posted problem is not a symptom of trying to run both web ...


2

Do you have routing and remote access service installed? If yes, try to disable it (RRAS uses SSTP by default and it listens for 443 port and lsas.exe process which is using port in your situation is used for IPSEC also).


1

I would setup apache on port 80 and add a VirtualHost for gitlab.mydomain.com . Then setup that VirtualHost with mod_proxy to http://127.0.0.1:8080 . Finally, setup gitlab to listen on 127.0.0.1. Found an example for you on GitHub: https://gist.github.com/radmen/3689615



Top 50 recent answers are included