|
|
Hi guys - thanks for all your help I have it solved, My BAD , I should have told you that the API makes a call to a SQL server instance on the erroneous Win 10 box , I added an inbound rule to open open 1433 and bingo it worked - Thanks for all your help and sorry for not giving you enough information.
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
modified 12-Apr-20 10:45am.
|
|
|
|
|
Try listing the ports in use on the Linux box:
sudo lsof -i
sudo netstat -lptu
sudo netstat -tulpn
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Hi Mark my port is shown under both commands
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
OK, so now see if everything installed on your windows box is allowing it (you may another app that's using the port):
Show PIDs:
netstat -aon
Show process names:
netstat -ab Failing that, check your network rules in Network & Sharing Centre -- including my favourite: "Password protected sharing" -- turn that useless PoC the elephant off.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Hi Mark I do appreciate your time , loads of output - what am I looking for ?
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
Turned off - no different
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
Are you sure that the port being used by your app is definitivelly not beind used by anything else? And it is not a port of the "standard used" list, is it?
EDIT:
I just remebered...
I had time ago a problem with some communication between different systems. In my case the problem was that the IP was written in little endian in one side and read in big endian in the other side.
And I have seen problems too of being sent in Hex, being expected in dec.
In other words... Just in case you see the expected contents, have a look to the formats.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I use the port 9653
Output from netstat
root@M4V202:/home/pjk# netstat -lptu|grep -i m4v202
tcp 0 0 M4V202:9653 0.0.0.0:* LISTEN 9419/CmdApi2
udp 0 0 M4V202:netbios-ns 0.0.0.0:* 2023/nmbd
udp 0 0 M4V202:netbios-dgm 0.0.0.0:* 2023/nmbd
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
It's port 9653 on the server, but it could be ANY port number at the client end. You need to be looking at outbound rules on the Win10 firewall. "Allow any port here to connect to remote port 9653"
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Peter_in_2780 wrote: It's port 9653 on the server, but it could be ANY port number at the client end Shirley, but if his firewall rule allows entry from that IP to that local port, and the client app listens on that port, then it should pass through without problems.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Hi both, I'm using postman to test and as I say if I open all ports on the Win 10 box it gets a response
Edit
I tried open all ports ( local ) and specific remote port (9653) but no go
I can get a response from my Win 7 box ok it's just the Win 10
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
modified 12-Apr-20 10:33am.
|
|
|
|
|
Damn!
I never even asked you if you'd turned it off and on again!
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
You pointed me in the right direction though sorry for the lack of information - it was the netstat command that alerted me to it - thanks Mark and the other respondees
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
Trying to get to the wrong computer... you should have noticed it, you were hitting a big wall with the head
and if not... you have probably noticed it later, when you where hitting the desk with your head
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Buy a new pair of glasses with anti-fog technology...
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
Just wave a blowtorch across them, every now and then.
Eyebrows are overrated, anyway.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I raise my glass to the fog (in absence of our Australian friend Michael Martin someone has to make these remarks)
|
|
|
|
|
|
|
COBOL wasn't broken, so devs insisted on something else.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
<pedantic>
Probably not: it'll be the operating system running the COBOL app, and that could be written in assembler, C, C++, or (most likely) a combination of them. AFAIK no real-world OS has ever been written in COBOL (I know compilers have, but OSes are very unlikely)
And the OS will still be running after the COBOL has terminated.
</pedantic>
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
That's the ultimative anti-hacking security meassure: Having a software written in something that old, that noone under a certain age have ever seen it in first person.
In a more serious note:
The poll this week was ironically asking which skills are needed for the future... The option of "damned old things that noone else know about" was not listed.
That's job security too.
And if someone says "what you ask for is too much", you can answer back "good luck finding anyone else"
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
modified 12-Apr-20 6:37am.
|
|
|
|
|
|
From reddit (as of Sat 11-Apr-2020 10:03 PM ET):
- I’ve heard that he died from Covid-19, with Vsauce & Numberphile saying he did, but I can’t find any reliable source for it. Does anyone know if this is a hoax or if he truly is dead? Thank you.
- I looked through, and there still seems to be no news sources, only twitter accounts and Wikipedia (which has since reverted from saying he died to saying he didn’t).
The earliest references to his death that I could find are timestamped Sat 11-Apr-2020 3:00 PM ET. Yet there's no mention of his death on the BBC, Reuters, CNN, NYTimes or other news organizations. I hope rumors about his death are greatly exaggerated.
Edit 12 Apr 2020, 8:17 PM
Sadly, JHC's death has indeed been confirmed.
/ravi
modified 12-Apr-20 20:18pm.
|
|
|
|