port

Is it possible to have multiple vncserver users on the same port?

≡放荡痞女 提交于 2020-07-23 08:17:38
问题 I have a Red Hat server running tiger-vncserver. This is a hardened system and security doesn't like having so many ports open for VNC users so currently we have 15 (5901-5915). We are getting more users onboarded and anticipate more users after, not sure how many though. Is there a way to make every user have a stateful VNC connection available but share ports? From security's perspective, we would only use like port 5900 or something. If it matters, I am using Apache Guacamole in lieu of a

Dotnet app on EC2 Linux port 7070 not accessible

陌路散爱 提交于 2020-07-09 14:04:10
问题 can't connect to an dotnet app running in an aws EC2 instance on port 7070 I've added the port to the security group and when I check if the port is open (netstat -ntlp) I get the output below: tcp 0 0 127.0.0.1:7070 0.0.0.0:* LISTEN 27021/dotnet Is there anything I'm missing? 回答1: I was able to fix the issue by downloading nginx to my EC2 instance (https://gist.github.com/soheilhy/8b94347ff8336d971ad0) and forwarding my custom port to port 80 Hopefully this will help! 来源: https:/

Running docker container : iptables: No chain/target/match by that name

穿精又带淫゛_ 提交于 2020-06-23 22:23:06
问题 I'm trying to run a container but I get the following issue : Error response from daemon: Cannot start container b005715c40ea7d5821b15c44f5b7f902d4b39da7c83468f3e5d7c042e5fe3fbd: iptables failed: iptables --wait -t filter -A DOCKER ! -i docker0 -o docker0 -p tcp -d 172.17.0.43 --dport 80 -j ACCEPT: iptables: No chain/target/match by that name. (exit status 1) Here is the command I use : docker run -d -p 10080:80 -v /srv/http/website/data:/srv/http/www/data -v /srv/http/website/logs:/srv/http

How to configure containers in one network to connect to each other (server -> mysql)?

眉间皱痕 提交于 2020-06-23 17:26:25
问题 I have ran ubuntu docker-containers (mysql) and (nodejs server app) on windows docker run -d --network bridge --name own -p 80:3000 own:latest docker run -d --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=12345678 mysql:5 docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 3ce966e43414 own:latest "docker-entrypoint.s…" 5 minutes ago Up 5 minutes 0.0.0.0:80->3000/tcp own ed10cfc93dd5 mysql:5 "docker-entrypoint.s…" 20 minutes ago Up 20 minutes 0.0.0.0:3306->3306/tcp, 33060/tcp

How to configure containers in one network to connect to each other (server -> mysql)?

一个人想着一个人 提交于 2020-06-23 17:23:05
问题 I have ran ubuntu docker-containers (mysql) and (nodejs server app) on windows docker run -d --network bridge --name own -p 80:3000 own:latest docker run -d --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=12345678 mysql:5 docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 3ce966e43414 own:latest "docker-entrypoint.s…" 5 minutes ago Up 5 minutes 0.0.0.0:80->3000/tcp own ed10cfc93dd5 mysql:5 "docker-entrypoint.s…" 20 minutes ago Up 20 minutes 0.0.0.0:3306->3306/tcp, 33060/tcp

Bind a QTcpSocket to a specific port

≡放荡痞女 提交于 2020-06-23 08:25:42
问题 I am connecting through a QTcpSocket to a QTcpServer . I can specify the listening port on the Server side, but the client chooses a random port for its connection. I have tried to use the method QAbstractSocket::bind but that made no difference. Here is my code: void ConnectionHandler::connectToServer() { this->socket->bind(QHostAddress::LocalHost, 2001); this->socket->connectToHost(this->ip, this->port); if (!this->socket->waitForConnected()) { this->socket->close(); this->errorMsg = this-

Getting Apache to allow access to Express API over HTTPS

倾然丶 夕夏残阳落幕 提交于 2020-06-18 06:52:49
问题 My website (https://www.tjbrackett.com/contact), which is on Apache, cannot access my Express app that is on the same server over HTTPS. Before I added an SSL certificate to the site, the setup ran perfectly. When I revert the SSL cert, it works again. The error I'm receiving on the front-end is ERR_CERT_AUTHORITY_INVALID. I've tried setting up a proxy/reverse proxy. I'm not sure if I set them up correctly. I've done a self-signed SSL cert on the Express app. I've tried to serve the Express

Python Requests, how to specify port for outgoing traffic?

只愿长相守 提交于 2020-06-10 05:18:49
问题 I'm working on a project where we want to assign a whitelist packet filters for incoming traffic on a firewall and we are using python script with requests library to make some https requests to some servers outside of that network. For now the script is using ephemeral ports to connect to the servers, but we would like to make these https requests through specific ports. This would allow us to create strict whitelist for these ports. How can I specify the port to the requests library through

Python Requests, how to specify port for outgoing traffic?

|▌冷眼眸甩不掉的悲伤 提交于 2020-06-10 05:18:45
问题 I'm working on a project where we want to assign a whitelist packet filters for incoming traffic on a firewall and we are using python script with requests library to make some https requests to some servers outside of that network. For now the script is using ephemeral ports to connect to the servers, but we would like to make these https requests through specific ports. This would allow us to create strict whitelist for these ports. How can I specify the port to the requests library through

tomcat running ,but 8080 port not responding

丶灬走出姿态 提交于 2020-06-09 16:59:11
问题 I have installed sun jdk 1.6 x64 and tomcat in a linux x64 machine through ssh, i don't have root privileges so i installed both in my home dir. I managed to successful run tomcat but if i try to enter mydomain.com:8080 there's no answer from the server. With this command: netstat -atnp|grep LISTEN i checked the port and it is LISTENING Dec 18, 2011 5:11:20 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance