firewall

All localhost pages via WAMP blocked?

南笙酒味 提交于 2019-11-27 14:48:25
问题 I've been trying to fix a weird 403 Forbidden error I get when I try to go to one of my pages via WAMP on the localhost. After adding a rule to open up port 80 via Windows Firewall, which apache uses, I notice that this does NOT fix my problem and instead gives me a 403 forbidden for ALL my pages via localhost. Removing the rule I just made (which caused this to begin with) does not fix it. Disabling Windows Firewall does not fix it. Restarting my computer does not fix it. Any ideas? EDIT2: I

Authenticate multiple symfony2 firewalls with one login form

随声附和 提交于 2019-11-27 12:21:55
I have two firewalls: api (for API calls) main (for everything else) My client app login happens via the main firewall. However, it does interact with endpoints under the api firewall to fetch data. The problem here is that I don't want to force the user to log in a second time for authenticating against the second firewall. How can I authenticate against both firewalls with just a single login form? Perhaps you could try the 'context' firewall property. Say you have a configuration something like this (which presumably you do): security: // providers etc ... firewall: main: pattern: # ...

Viewing my IIS hosted site on other machines on my network

雨燕双飞 提交于 2019-11-27 10:25:14
At home I have a simple network setup containing 2 machines. On one machine i have a site hosted with IIS7. Rather than the standard localhost/index.htm address I have added an entry in the HOSTS file pointing the local IP (127.0.0.1) to this domain - www.mysite.dev . I can access the site with www.mysite.dev with no problem. what I would like to do is be able to view this site from my other machine on the network. Initially I assumed this could be done with a URL like so MACHINE-NAME/www.mysite.dev , but the connection always times out. But I can ping MACHINE-NAME without problems. For

What is the best practice of docker + ufw under Ubuntu

最后都变了- 提交于 2019-11-27 06:54:06
I just tried out Docker. It is awesome but seems not work nicely with ufw. By default, docker will manipulate the iptables a little bit. The outcome is not a bug but not what I expected. For more details you can read The dangers of UFW + Docker My goal is to set up a system like Host (running ufw) -> docker container 1 - nginx (as a reverse proxy) -> docker container 2 - node web 1 -> docker container 3 - node web 2 -> ....... I want to manage the incoming traffic (e.g. restrict access) through ufw therefore I don't want docker to touch my iptables. Here is my test Environment: a newly

How do I get the Mac OS X Firewall to permanently allow my iOS app?

痴心易碎 提交于 2019-11-27 05:38:58
问题 I'm writing an iOS app that acts as, among other things, a telnet server. Naturally, it begins listening for connections as soon as it starts. When I run the app in the Simulator, Mac OS X (I happen to be on 10.7.3) prompts me to Allow or Deny my application to accept incoming network connections. This is the standard Firewall message that Mac OS X uses for all unsigned, networked applications. I grow weary of clicking "Allow" fifty or more times a day, and so I seek a way of permanently

opening websites using urllib2 from behind corporate firewall - 11004 getaddrinfo failed

白昼怎懂夜的黑 提交于 2019-11-27 05:12:14
I am trying to access a website from behind corporate firewall using below:- password_mgr = urllib2.HTTPPasswordMgrWithDefaultRealm() password_mgr.add_password(None, url, username, password) auth_handler = urllib2.HTTPBasicAuthHandler(password_mgr) opener = urllib2.build_opener(auth_handler) urllib2.install_opener(opener) conn = urllib2.urlopen('http://python.org') Getting error URLError: <urlopen error [Errno 11004] getaddrinfo failed> I have tried with different handlers (tried ProxyHandler also in slightly different way), but doesn't seem to work. Any clues to what could be the reason for

sending and receiving UDP packets using Java?

拥有回忆 提交于 2019-11-27 04:05:38
I have made a program to send an UDP packets from a client to a server here is the transmitter code import java.io.IOException; import java.net.*; /** * * @author hp */ public class JavaApplication9 { /** * @param args the command line arguments */ public static void main(String[] args) throws UnknownHostException, SocketException, IOException { // TODO code application logic here byte[] buffer = {10,23,12,31,43,32,24}; byte [] IP={-64,-88,1,106}; InetAddress address = InetAddress.getByAddress(IP); DatagramPacket packet = new DatagramPacket( buffer, buffer.length, address, 57 ); DatagramSocket

Why does Tomcat work with port 8080 but not 80?

荒凉一梦 提交于 2019-11-27 01:36:39
问题 I have started and tested Tomcat under Port 8080 (default). Now I altered the connector port to 80 and restarted Tomcat, nothing will show on my minimal Debian 6.0 installation. Now where is the trick here? <Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" URIEncoding="UTF-8" redirectPort="8443" /> 回答1: go to /etc/default/tomcat6 and change #AUTHBIND=no to AUTHBIND=yes # If you run Tomcat on port numbers that are all higher than 1023, then you # do not need authbind. It is

What port is used by Java RMI connection?

余生长醉 提交于 2019-11-27 01:09:10
May I know what port is used by Java RMI connection? If I want to connect a Java client application to a Java server application using RMI connection, what port I need to open at the server machine so that the client application can connect to it? I want to set up a firewall in the server machine but I don't know which port I should open. skaffman RMI generally won't work over a firewall, since it uses unpredictable ports (it starts off on 1099, and then runs off with a random port after that). In these situations, you generally need to resort to tunnelling RMI over HTTP, which is described

VS 2015 + Bower: Does not work behind firewall

白昼怎懂夜的黑 提交于 2019-11-27 00:32:23
Problem In Visual Studio 2015, using bower, my package restores fail when behind a firewall with an error similar to: ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/jzaefferer/jquery-validation.git", exit code of #-532462766 I have updated my git config to use http instead of git. When I run from my command line, the command is successful: But Visual Studio or one of its components appears to be using git instead of http regardless. Background & First Attempt to Resolve Using Visual Studio 2015 and Bower for package management. It works great when not behind a