Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I have OpenVPN-server running on Windows Server 2008R2 via 1194 UDP Port. Most of the clients are connected well but 2 machines cannot (WinServer 2008 and Win7 Pro). The error is:
Thu Nov 07 11:54:57 2013 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu Nov 07 11:54:57 2013 TLS Error: TLS handshake failed
The TAP-Win32 Adapter status is "Cable unplugged" while I'm trying to connect. The same TLS key negotiation failed error occurs when I remove TAP adapter or turn it off in Windows control panel (Seems like OpenVPN is not connecting to TAP). The firewall is turned off, UDP 1194 is open.
I've tried to explicitly set the tap adapter name by adding dev-node AdapterName in config file without any result.
The problem's probably not in the network, because I have 2 machines successfully connected to VPN within the same local network. The listing of client config file is:
tls-client
proto udp
remote <server ip address here>
dev tap
dev-node myTap
pull
tls-auth c:\\vpnkeys\\ta.key
ca c:\\vpnkeys\\ca.crt
cert c:\\vpnkeys\\client30.crt
key c:\\vpnkeys\\client30.key
cipher DES-EDE3-CBC
comp-lzo
There was an unproperly configured network. OpenVPN is not using tap adapter until it gets response from remote host.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I have a dlink router..Dlink DIR 600M...I am trying to port forward 1337 and 1334 through my router and opened listener but after enable i checked canyouseeme.org but theres no port opened..i have a cable net connection...my wan ip and public ip is different.
If your WAN IP address and your Public IP addresses are different, you will need to be sure that you first port forward from the public-facing router to your D-Link router. If you do not have access to your public facing router (as is the case with my current network setup), then this port forwarding is not possible.
I have a DIR-651, and there are check boxes next to all the Port Forwarding rules. Make sure those are checked. I've wasted hours of troubleshooting because one of the boxes wasn't checked and saved.
Finally, make sure that you have a server running on the correct IP address and port that you specified on your router. Also, make sure that your firewall is disabled on those ports. If your server isn't configured to respond on those ports, then canyouseeme.org will not respond that those ports are open.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Do I need to forward these ports? Is there a way to do it on Windows 7? I've tried using a program named smart port forwarding but it crashes when the program is running. Thanks in advance.
You shouldn't need to forward those ports in order to be able to run the applications. Chrome and Steam are connecting through those ports to the internet because they are ones that the operating system says are available for outgoing connections and provided them with that unique port number when each application asked for it.
These applications should all run fine for you, without needing to open any ports. Opening a port is most always to let incoming traffic be accepted, not for outgoing traffic to be stopped. A telltale sign that a port is not open is that no connection can be made. If you tried to connect over the internet (port 80) to most random IP addresses, you won't be able to find anything, because the device at that IP address rejected your attempt to open that port to them. So because you are (I am assuming) able to successfully run both Chrome and Steam and have them be able to connect to the internet, you shouldn't be facing a port forwarding issue. The port numbers are just assigned essentially at random each time that an application needs to open an outgoing socket. (this being a simplification of the whole paradigm, but hopefully enough to be able to answer this question).
Edit: And yes, like #Rumesh-Eranga pointed out as well, port forwarding is done at the router level (on the internet router itself) and not at the computer level. It's a way of saying to the router "alright, any time this network receives a request to open port XYZ, send it to this computer that is connected to our local network."
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
How can I add a port to 127.0.0.1? I have 127.0.0.1:5984 open but want to open another one. Any idea? As A head's up I'm new to computers. I'm on a Mac running OS X Mavericks. I'm also on Xfinity.
Edit: I am having a port conflict while attempting to use CouchDB, how can I resolve this?
A port is a listener for a specific protocol such as tcp or udp. In order to open a port. You need a program or service to listen on that port. For example, by default Skype will listen on port 80.
Please read the wikipedia page for a basic overview or what a port is.
In computer networking, a port is an application-specific or
process-specific software construct serving as a communications
endpoint in a computer's host operating system. A port is associated
with an IP address of the host, as well as the type of protocol used
for communication.
http://en.wikipedia.org/wiki/TCP_Port
Edit: To answer actual question:
Unavailable Port
Problem
$ couchdb Apache CouchDB 0.9.0a747640 (LogLevel=info) is
starting. Failure to start Mochiweb: eaddrinuse {"init terminating in
do_boot",{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1},{erl_eval,do_apply,5},{erl_eval,exprs,5},{init,start_it,1},{init,start_em,1}]}}
Solution
Edit your /etc/couchdb/couch.ini file and change the Port setting to
an available port.
Excerpt from:
http://wiki.apache.org/couchdb/Error_messages
You can change the port CouchDB listens on by editing its local.ini file (which is in /usr/local/etc/couchdb by default). Under the httpd section, uncomment the port entry and change its value to the port you want to listen on (5983 in your example).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I could not make the telnet port command execute.
I did what was told in this link.
the snapshots of my cmd are:
what else shall i do to execute these commands?
The telnet command connects to the host you specify as the first argument on the port you specify as the second argument (or 23, if you only specify a single argument).
When you tried to execute telnet port, it tried to connect to the server port on port 23. Since there is no server with the address port (unless you specified it in your pc's hosts file), telnet couldn't connect to it.
I'm guessing the second command failed, because www.udacity.com doesn't accept connections on port 8080 (the second argument of the command).
I don't see any instructions in the link you provided.
EDIT: If you're trying to connect to localhost, use telnet localhost (to connect to port 23) or telnet localhost <port> (replace <port> with the port you are trying to connect to).
I also faced same problem. Solution, after adding feature for telnet server, a new service is added for this but is in by default disabled state. So make sure service is running and in non disable mode.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I have followed these instructions:
http://aws.amazon.com/articles/0639686206802544
I can ping the VPN endpoints and I have the corresponding VPC CIDR pointing to the EC2 instance in the route table. Here is my config:
port 1194
proto udp
dev tun
# Remote peer and network
remote Elastic_IP
# Configure local and remote VPN endpoints
ifconfig 169.254.255.1 169.254.255.2
# The pre-shared static key
secret /etc/openvpn/ovpn.key
keepalive 10 120
persist-key
persist-tun
log /var/log/openvpn.log
verb 3
I can ping the OpenVPN instances and the corresponding endpoints however I still can't ping other private IP's in the other subnet.
I've added a persistent route to send the traffic through the gateway. Anything else I should look at?
Make sure you have the Source/dest checks turned off in the ENI for your VPN instance.