firewall

Firewall Port 1433 not opening

删除回忆录丶 提交于 2019-11-26 23:09:24
问题 I am using MS Server 2008 with MSSQL 2008-R2 as database server. Each time for some work i have to login to server via Remote connection.I tried to configure the SQL Server remote connection on, followed the following steps.... 1.Created Inbound and outbound rules for tcp port 1433. 2.In sqlserver configuration manager ,all is set for IP address and POrt no properties. 3.Set the SqlServer instance for remote connections. But still its not working. Also when i checked port 1433 for tcp on

Open firewall port on CentOS 7

我的梦境 提交于 2019-11-26 18:02:45
I am using CentOS 7 and I have to ensure that ports 2888 and 3888 are open. I read this article but this did not work because on CentOS 7 OS there is no iptables save command. Someone told me that the above URL is not valid for CentOS 7. and I should follow this . But this article is not clear to me on exactly what command I need to execute. I also found firewall-cmd --zone=public --add-port=2888/tcp but this does not survive reboots. So how can I open the ports and make it survive reboots? ganeshragav Use this command to find your active zone(s): firewall-cmd --get-active-zones It will say

Authenticate multiple symfony2 firewalls with one login form

我是研究僧i 提交于 2019-11-26 15:58:46
问题 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? 回答1: Perhaps you could try the 'context' firewall property. Say you have a configuration

Viewing my IIS hosted site on other machines on my network

℡╲_俬逩灬. 提交于 2019-11-26 15:08:23
问题 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

sending and receiving UDP packets using Java?

一世执手 提交于 2019-11-26 11:04:44
问题 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

What is the best practice of docker + ufw under Ubuntu

倖福魔咒の 提交于 2019-11-26 10:29:07
问题 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)

What port is used by Java RMI connection?

别来无恙 提交于 2019-11-26 09:37:48
问题 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. 回答1: 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).

VS 2015 + Bower: Does not work behind firewall

无人久伴 提交于 2019-11-26 09:27:02
问题 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

Connection refused to MongoDB errno 111

偶尔善良 提交于 2019-11-26 06:19:04
问题 I have a Linode server running Ubuntu 12.04 LTS and MongoDB instance (service is running and CAN connect locally) that I can\'t connect to from an outside source. I have added these two rules to my IP tables, where < ip address > is the server I want to connect FROM (as outlined in this MongoDB reference): iptables -A INPUT -s < ip-address > -p tcp --destination-port 27017 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A OUTPUT -d < ip-address > -p tcp --source-port 27017 -m state -

Programmatically add an application to Windows Firewall

只愿长相守 提交于 2019-11-26 05:15:05
问题 I have an application that is installed and updated via ClickOnce. The application downloads files via FTP, and therefore needs to be added as an exception to the windows firewall. Because of the way that ClickOnce works, the path to the EXE changes with every update, so the exception needs to change also. What would be the best way to have the changes made to the firewall so that it\'s invisible to the end user? (The application is written in C#) 回答1: Not sure if this is the best way, but