I would like to use SolAdmin to configure my Solace VMR, what is the default admin port to use in SolAdmin when connecting to a Solace VMR?
The default SolAdmin port for a VMR is port 8080.
You can verify this by looking at the configuration of the SEMP service via the CLI.
solace> show service
...
Service TP S C R VRF MsgVpn Port A O Failed Reason
-------- --- ----- ----- --------------- ----- --- ---------------------------
SEMP TCP N - - Mgmt 8080 U U
Related
My VSCode in WSL:Ubuntu is unable to listen to the xdebug port, because it is blocked by some docker-proxy.
I was following this Solution, but trying VSCode to listen to the xdebug port, results in the following error:
Error: listen EADDRINUSE: address already in use :::9003
Can anyone help with connecting VSCode to xdebug?
Windows 11 says the port is already allocated by wslhost:
PS C:\WINDOWS\system32> Get-Process -Id (Get-NetTCPConnection -LocalPort 9003).OwningProcess
Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName
------- ------ ----- ----- ------ -- -- -----------
285 47 2288 4748 0,05 19480 1 wslhost
Ubuntu tells, its allocated by some docker-proxy:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:9003 0.0.0.0:* LISTEN 17210/docker-proxy
tcp6 0 0 :::9003 :::* LISTEN 17217/docker-proxy
docker-compose-version: docker-compose version 1.25.0
The xdebug.log says:
[Step Debug] INFO: Connecting to configured address/port: host.docker.internal:9003.
[Step Debug] ERR: Time-out connecting to debugging client, waited: 200 ms. Tried: host.docker.internal:9003 (through xdebug.client_host/xdebug.client_port) :-(
For sure as long as nothing is listening.
As to xdebug.client_host I'v tried:
host.docker.internal
xdebug://gateway and xdebug://nameserver refering to this: https://docs.google.com/document/d/1W-NzNtExf5C4eOu3rRQm1WlWnbW44u3ANDDA49d3FD4/edit?pli=1
setting the env-variable with docker-compose.yml: XDEBUG_CONFIG="client_host=..."
Removing the Expose directive from Dockerfile/docker-compose as in this comment doesn't remove the error neither.
Solved it. For others with this challenge:
Inside of wsl-ubuntu -> docker-containter host.docker.internal directs to the wrong ip.
In the wsl-distribution the file /etc/resolv.conf is the ip of the windows host.
To get the correct ip use this answer: How to get the primary IP address of the local machine on Linux and OS X?
My solution is to define an env-variable with this ip:
alias docker_compose_local_ip="ifconfig eth0 | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p'"
export DOCKER_COMPOSE_LOCAL_IP=$(docker_compose_local_ip)
and configure the container with it:
services:
service-name:
environment:
- XDEBUG_CONFIG=client_host=${DOCKER_COMPOSE_LOCAL_IP} ...
Using a fresh install of wampserver 3.2.6 on windows server 2019 I get error 10061, I have port forwarded on my router and opened the port on the firewall, but have not been able to get it to function. Ive looked using netstat but no programs are using this port.
error from checking wampache
***** Test which uses port 8081 *****
===== Tested by command netstat filtered on port 8081 =====
Port 8081 is not found associated with TCP protocol Port 8081 is not
found associated with TCP protocol
===== Tested by attempting to open a socket on port 8081 =====
Your port 8081 seems not actually used. Unable to initiate a socket
connection Error number: 10061 - Error string: No connection could be
made because the target machine actively refused it.
--- Do you want to copy the results into Clipboard?
--- Press the Y key to confirm - Press ENTER to continue...
result of checking state of services
State of services:
The service 'wampapache64' is NOT started EXIT error code:1066 Help
message for error code 1066 is:The service has returned a
service-specific error code.
AH00015: Unable to open logs .
AH00451: no listening sockets available, shutting down .
The service 'wampmysqld64' is started Service Session : LocalSystem
The service 'wampmariadb64' is started Service Session : LocalSystem
WampServer (Apache, PHP and MySQL) will not function properly if any
service 'wampapache64' 'wampmysqld64' 'wampmariadb64' is not started.
all services BINARY_PATH_NAME are OK
--- Do you want to copy the results into Clipboard?
--- Press the Y key to confirm - Press ENTER to continue...
I'm trying to open port TCP 28016 and UDP 28015 for a game server in my compute engine VM running on Microsoft Windows Server 2016.
I've tried opening the opening inside my server using RDP, going to Windows Firewall setting and creating new inbound rules for both TCP 28016 and UDP 28015.
Also done setting firewall rules on my Cloud Platform Firewall Rules for both port.
When running my game server application, running netstat didn't show any of the port being used / not listening . Not even shows up. What did i do wrong ?
Edit : it now shows up on netstat -a -b , but didn't have LISTENING
If it doesn't show as LISTENING, it's not a firewall or "port forwarding" issue; rather, the application either isn't running, or is running but isn't configured to listen for connections on that port.
Currently I need to establish remote connection with my server (Ubuntu 16.04 LTS).
I Install Postgresql and I made the following settings:
/etc/postgresql/9.5/main/postgresql.conf:
listen_addresses='*'
/etc/postgresql/9.5/main/pg_hba.conf:
host all all 0.0.0.0/0 md5
If run this command: netstat -anpt | grep LISTEN
shows the port is listening
but when I try to establish the connection, I have this error:
And this tool tells me that the port is closed:
Allowing only on Configurations of Postgresql server is not enough. You need to add a firewall rule in google compute engine. Check this
Firewall rules control incoming or outgoing traffic to an instance. By default, incoming traffic from outside your network is blocked.
I write simple server application in erlang.
Code of this application: https://gist.github.com/783117
I try to connect to it with telnet. When I connect to localhost or local ip addres which get from route it's ok, but when i try to connect to server with external ip it's don't work.
What's wrong?
If i use options with {0,0,0,0}:
Opts = [binary, {ip, 0,0,0,0}, {reuseaddr, true},
{keepalive, false}, {active, false}],
I get:
exception exit: badarg
netstat -ltn | grep 110
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 202 0 0 eth0
Thank you.
From gen_tcp manual:
listen(Port, Options) -> {ok, ListenSocket} | {error, Reason}
...
Sets up a socket to listen on the port Port on the local host.
...
{ip, ip_address()}
If the host has several network interfaces, this option specifies which one to listen on.
I suppose your server listens only on the local host. That is, you can't connect using other addresses. You probably need to use the ip option. Maybe it's possible to use INADDR_ANY somehow like in C but I don't know.
[edit]
It appeared that it listens on INADDR_ANY by default even without ip option (thanks to I GIVE CRAP ANSWERS).
And I can connect from other machines with the original code shared by the author. However firewall is disabled on my machine
Instead of {ip, 0,0,0,0}, you should pass: {ip, {0,0,0,0}}. You passed a tuple having 5 elements, instead of a tuple of 2 elements.